Rally Software

Expand all | Collapse all

Can I create a custom field that presents a custom "picker" for the use to choose from?

  • 1.  Can I create a custom field that presents a custom "picker" for the use to choose from?

    Posted Jun 24, 2014 04:58 PM
    Can I (as a user or an integrator) create a custom field using a custom user input that would present some sort of picker (think a button that opens a popover that lets you browse and pick pages on a remote sharepoint server) and then sets the value of the custom field to the URL that the user "picked")?

    In other words, what if (instead of syncing issues and stories) the Jira integration was just a custom field in Rally that made it easy for the user to pick a Jira issue to link to the current Rally story?

    Im looking at potential integration points and this ability may help...  


  • 2.  Re: Can I create a custom field that presents a custom "picker" for the use to choose from?



  • 3.  Re: Can I create a custom field that presents a custom "picker" for the use to choose from?

    Posted Jun 24, 2014 08:26 PM
    Not sure... isn't that field auto populated when you use the sync? If not, how does the user edit (pick) the link? I need one where the URL is picked by the user.... Can you see the image below attached to this email? Look at the custom fields section...


  • 4.  Re: Can I create a custom field that presents a custom "picker" for the use to choose from?

    Posted Jun 25, 2014 10:33 AM
    Peter, I can't see the attachment from the email reply, as it doesn't post the actual image to the thread.  If you reply from the thread on the Rally Success Community: Can I create a custom field that presents a custom "picker" for the use to choose from? , the image can be inserted inline.  I'm going to talk with our Support Dev on exactly how that field is populated, as I'm not 100% sure!


  • 5.  Re: Can I create a custom field that presents a custom "picker" for the use to choose from?

    Posted Jun 25, 2014 12:03 PM
    Here is the picture:
    0EM140000004ak1


  • 6.  Re: Can I create a custom field that presents a custom "picker" for the use to choose from?

    Posted Jun 25, 2014 04:53 PM
    Peter -- thank you for posting that.  I checked, and it sounds like we currently do not have the functionality to do this in a custom field.  This could be an idea that others share, so I encourage you to post the idea to Rally Ideas and share with friends and colleagues to garner votes and comments. 

    I found an existing idea that is kind of the same thing ... albeit different!  You might have a look at it and see if it matches what you're trying to do -- even if it is for Git integration instead of Jira: https://ideas.rallydev.com/ideas/D2336


  • 7.  Re: Can I create a custom field that presents a custom "picker" for the use to choose from?

    Posted Jun 25, 2014 05:27 PM
    Bummer. How do I log into Rally Ideas? The "Success Community" login doesn't seem to work... 


  • 8.  Re: Can I create a custom field that presents a custom "picker" for the use to choose from?

    Posted Jun 25, 2014 05:53 PM
    Hi Peter, it sounds like Jasjit just emailed your login info to you.


  • 9.  Re: Can I create a custom field that presents a custom "picker" for the use to choose from?

    Posted Jun 26, 2014 05:42 PM
    Hi there, Just had another idea: can I create an app that presents a list of stories and (when the user clicks on one story) presents a custom "edit story detail" page/popup that is similar to the native "edit user story" popup but completely built by us?  If that's the case then we can build "custom property editor" described below in our version of the "edit story detail" page. Fingers crossed... Pete Indelicato Senior Product Manager (310) 426-7829 direct (310) 643-0341 fax iRise  |  Visualize. Innovate. Deliver.  |  www.irise.com 2301 Rosecrans Ave., Suite 4100, El Segundo, CA 90245 All information in this message is proprietary and confidential.


  • 10.  Re: Can I create a custom field that presents a custom "picker" for the use to choose from?
    Best Answer

    Posted Jun 27, 2014 01:41 PM
    Hi Peter,

    It is possible to write an app where a grid is populated by user stories filtered in by whatever criteria makes sense in the context of your Rally data. It is possible to add a click event to it so that when a user clicks on  a row, or a button, a dialog page pops up.
    See AppSDK2 documentation (https://help.rallydev.com/apps/2.0rc3/doc/), and this one specifcially on Rally.ui.dialog.Dialog (https://help.rallydev.com/apps/2.0rc3/doc/#!/api/Rally.ui.dialog.Dialog).

    It is possible to set a value of a custom field from an app.
    See AppSDK2 documentation on updating records (https://help.rallydev.com/apps/2.0rc3/doc/#!/guide/data_models):

    While it is possible to set value of an existing custom field (or any writable standard Rally field) of any given artifact via WS API, and by extention via AppSDK2,  it is not possible to create custom fields via WS API. It is also not possible to create or modify allowed values of a custom field of dropdown type. A custom field must be created in the Rally UI by an administrator before the value it holds can be set or modified programmatically.

    It is possible to embed a reference to an object in an external system, e.g. Jira or Salesforce artifact, inside a Rally artifact's details page. A custom field of WebLink type can be created for this purpose
    See "Create and Customize Fields (https://help.rallydev.com/create-custom-fields)" help document here:


    After the custom field is properly created in the UI by the administrator,  values of a WebLink type custom field can be updated programmatically in your app. WebLink type custom field is different from custom fields of all other types as far as the payload it expects. WebLink consists of two parts, LinkID and DisplayString, and both have to be included in the payload even though only one, the LinkID needs to be given a value. DisplayString has to be set to an empty string.
    See "How to set a WebLink custom field value via Web Services API (https://rallydev.force.com/answers?id=kA0a0000000Yd37)" article in the Success Community.
    https://rallydev.force.com/answers?id=kA0a0000000Yd37

    This article has a link to an AppSDK2 app example where a WebLink is used to embed a reference to a specific Jira artifact. There is also a link to a C# exmple using Rally .NET toolkit (https://github.com/RallyTools/RallyRestToolkitFor.NET). Those examples are not formally supported by Rally.

    It is also possible to embed an external URL in a custom field of type String. This will not have the advantage WebLink type of custom field provides: the base URL, e.g. http://my-external-system/${id} which expects only a unique id supplied by the user in place of ${id}. However WebLink type of custom field has one important drawback. It is not queriable. String type custom fields are queriable. If the ability to query this field is required, or may become required in the future, don't use WebLink type of field. (Custom field type cannot be modified after a custom field is created).
    This example shows how to make a value in the String type field clickable by using <a href> html tag:
    <a href="Can I create a custom field that presents a custom "picker" for the use to choose from? link</a>
    Your app can set a String custom field  to a string  that follows this format.

    The challenge is how to get those unique ids of artifats from another system dynamically instead of hardcoding them. Bascially if you do not want to use integration that maps artifacts between the two system in a manner of Rally-Jira connector does it, you will have to figure out this separately. There is no built-in support in AppSDK to allow connecting and querying a 3rd party system for data.

    Nick


  • 11.  Re: Can I create a custom field that presents a custom "picker" for the use to choose from?

    Posted Jun 27, 2014 01:55 PM
    VERY helpful response, Nick. Thanks for taking the time to write up such detail. One direction I am exploring is very similar to the Jira integration, I think, so I am going to try to find some useful info on how that integration works and how its set up (particularly around the “tie” between a project in Jira and project in Raly). If you have an good links to videos, etc, feel free to pass them on. Thanks again