Questions & Answers

Get your Rally questions answered.

This is a public Hive  publicRSS

Question

    How do I display a story in Rally that I have looked up the...
    Question posted 06/26/09 by Brad H , tagged Web Services API
    12176 Views, 3 Comments
    Title:
    How do I display a story in Rally that I have looked up the @ref for in the Webservice
    Summary:

    We have an application we have developed which will display Rally story information for scheduling.

    If the user clicks on a User Story, we want to use the @ref value (I.E. https://rally1.rallydev.com/slm/webservice/1.12/project/123456789) and have a browser open up Rally and display that information.

    Using the above actual URL in a browser returns the information for that User Story, but it is in XML format.  I want it to actually (log into Rally if needed) and display the User Story in Rally.

    How do I do that?

    Comments

    • posted 06/30/09 by Matt

      Hi Brad,

      In order to display the detail page of an Artifact you will need to use a different URL than the URL returned from the @ref and the OID (the numbers on the end of the @ref) of the Artifact. You could clip off the OID from the end of the @ref that is returned, or you could request just the OID for the Artifact from webservices and then append that to the URL below for the Rally detail page of that Artifact.

      URL for several Artifact types, in case you need more than a User Story:

      User Story: https://rally1.rallydev.com/slm/detail/ar/<OID>
      Defect: https://rally1.rallydev.com/slm/detail/df/<OID>
      Task: https://rally1.rallydev.com/slm/detail/tk/<OID>
      Test Case: https://rally1.rallydev.com/slm/detail/tc/<OID>
      Project: https://rally1.rallydev.com/slm/detail/pj/<OID>

      The detail links for Artifacts can be found by clicking on the chain link icon at the top left of the Artifact detail page.  I have included a picture of this link icon for reference.

      Please let us know if you have further questions or need further information.

      -Matt

      Reply to this Comment

      • posted 08/12/09 by Felipe

        Hi Matt,

        On that note, is it possible to display (or link to) an artifact detail page without the topnav being included?

        The problem is that links to artifact details within a custom mashup create a nested effect due to the topnav, as you can see from the attached screen clip.  (Kind of like back in the day when you sould load a frameset within a frameset...)

        For now I work around this by linking to a blank window, which isn't too bad in Firefox since it loads in a new tab.  Is there any better way to solve or work around this?

        Thanks in advanced.

        Reply to this Comment

    • posted 08/12/09 by Kyle Clark

      Hi Felipe,

      Short of doing major development and recoding work, your work-around is currently the best solution. Our integrations team suggested something simmilar to your blank window, here is the code -

      var text = "<a href='#' onclick=\"popup('"+ url + "');"

      Reply to this Comment