Rally Software

Expand all | Collapse all

Issue Navigation: How do I link to a story based on its formatted ID?

Jump to Best Answer
  • 1.  Issue Navigation: How do I link to a story based on its formatted ID?

    Posted 05-15-2017 08:01 AM

    I'm trying to set up IntelliJ issue navigation to link to stories in Agile Central. When I look at the URL that identifies the stories right now it looks something like:

     

    https://rally1.rallydev.com/#/12345678901d/detail/userstory/123456789012 

     

    Where I assume that the "12345678901d" part is an id for my company or something.

     

    But the id on our story looks something like US98765, and when we make commits in source control, we will usually include a reference to that id in the comments like [US98765]. 

     

    Does anyone know if there is a way, in agile central to link to the story using the story id rather than the much longer, much less obvious id that represents that story in Agile Central, which we do not currently decorate our source control commits with. 

     

    As an example. When we were using Jira, as our story tracker, we could simply put in issue navigation that looked like this:

     

    Issue ID (regular expression): \[([A-Z]+\-\d+)\]

    Issue link (replacement expression): https://jira.admin.mycompany.com/browse/$1

     

    Where issue id's in Jira looked like AB-1234567, and in our commits looked like [AB-1234567]

     

    I'd like to be able to set up a navigation that looks something like the following for Agile Central navigation

     

    Issue ID (regular expression): \[([A-Z]+\d+)\]

    Issue link (replacement expression): https://rally1.rallydev.com/#/12345678901d/some-id-search-or-something/$1

     

    Is this possible? If so, how do I do this?



  • 2.  Re: Issue Navigation: How do I link to a story based on its formatted ID?
    Best Answer

    Broadcom Employee
    Posted 05-18-2017 09:25 AM

    There's no easy way to do this although there's been lots of chatter in https://ideas.rallydev.com if you'd like to add your vote and voice to one of the relevant ideas. There's one trick that we've used for skating around this; if you use the URL for the search center and make your work item Formatted ID the keyword in the search argument then you'll get a direct link to the story or other work item. For example:

     

    https://rally1.rallydev.com/#/99999999999d/search?keywords=us12345 

     

    In that argument 99999999999 is the UID for the project, d is the scoping argument to show items from Child projects and US12345 is the formatted ID for the work item. It's a little bit of a hack but it's about the best that you can do for now. Hope that helps.



  • 3.  Re: Issue Navigation: How do I link to a story based on its formatted ID?

    Posted 05-18-2017 10:09 AM

    That works fine. Thanks.