Rally Software

 View Only
Expand all | Collapse all

How to retrieve story details using rest API for a give User Story Number?

  • 1.  How to retrieve story details using rest API for a give User Story Number?

    Posted Dec 23, 2019 07:24 PM
    Hi,

    I have a requirement to get the User story details - like (
    1. US Name
    2. Project
    3. Scheduled State , etc) related to the User Story.
    What I have is the Rally User story in SRM salesforce , _refObjectName and OID of the workspace.

    For e.g 

    USxxxxx is one of the user story we have in our workspace.


    Any help is greatly apreciated.




    ------------------------------
    RV
    ------------------------------


  • 2.  RE: How to retrieve story details using rest API for a give User Story Number?
    Best Answer

    Broadcom Employee
    Posted Dec 26, 2019 10:04 AM
    Hi Regi,

    I think we need a little more info on this.  While it is possible to query Rally with a _refObjectName, you may run into some uniqueness issues.  If, for example, you had two user stories that had a name of "Add new field", there would be no way to know with any certainty which user story we wanted to pull details on.

    Are you certain you don't have any additional fields available to query on? 
    The following user story attributes are ideal:
    • ObjectID
    • ObjectUUID
    • _ref
    • _refObjectUUID
    • FormattedID