16

I would like to write web pages that have links to Rally issues (Test Cases, Defects, etc). I would like to be able to generate a URL with the FormattedID. Is this possible? Or do I really need the objectID? For example:

http://rally1.rallydev.com/363953481d/detail/testcase/TC1665

(or something like that, instead of the cryptic object id)

Walter
  • 175
  • 1
  • 6

3 Answers3

22

The following allows users to go directly to the detail page of a work product without having to know the Object ID:

https://rally1.rallydev.com/#/search?keywords=US1234

This relies on a feature of Rally's search functionality and isn't officially supported - so the above URL isn't guaranteed to work forever. However it's a decent way to use Formatted ID's as a workaround.

  • 1
    The situation that this does not work is when the Artifact (Test Case, Story) is contained in a different workspace than the person who clicked on it. – Charles Ferentchak Dec 04 '12 at 23:15
  • Good point, thanks Charles. FormattedID's are unique per workspace, not gloabally unique - so that URL will be workspace-specific. –  Dec 04 '12 at 23:20
1

Searching by just keyword will give you the item with that ID and related items (e.g. other items that mention the desired ID in their name). Sometimes this is fine, sometimes not.

To search for DE75700 and DE72760 only, and no others use

https://rally1.rallydev.com/#/search?keywords=FormattedID%3ADE75700%20FormattedID%3ADE72760

This is equivalent to manually typing

FormattedID:DE75700 FormattedID:DE72760

in the Rally search box.

Darren Yeats
  • 101
  • 1
  • 3
  • StayOnTarget, thanks for the edit. Though the question is about URLs I should have mentioned that UI equivalent. – Darren Yeats Jun 18 '21 at 12:39
  • There has been an update to the Rally interface. The correct syntax is now "FormattedID:DE75700 OR FormattedID:DE72760" and so the URL changes to "rally1.rallydev.com/#/search?keywords=FormattedID%3ADE75700%20OR%20FormattedID%3ADE72760" – Darren Yeats Jan 03 '23 at 17:18
0

As a corollary to the main answer I have defined a Chrome browser bookmark which will take me right to any Rally item by its ID.

enter image description here

The URL for this bookmark in full is:

javascript:(function(){window.location = "https://rally1.rallydev.com/#/search?keywords=" + prompt("Enter ID:");})();

When this bookmark is activated, it prompts you like so:

enter image description here

I find this to be a huge time saver.

Thanks to Displaying a prompt from javascript Chrome bookmark.

StayOnTarget
  • 11,743
  • 10
  • 52
  • 81