Rally Software

 View Only
Expand all | Collapse all

How to create a User story using Rest API from sales-force Apex

  • 1.  How to create a User story using Rest API from sales-force Apex

    Posted Oct 02, 2019 01:20 AM
    Receiving the below error

    I am trying this from Apex code to create a new user story.

    I first got the scurity API and then passing that to the    https://rally1.rallydev.com/slm/webservice/v2.0/HierarchicalRequirement/create?key=  ,where key is the security token returned from https://rally1.rallydev.com/slm/webservice/v2.0/security/authorize ..

    Do I have to specify or set more user story attributes- before calling the above ENDPOINT url?


    21:01:26:416 USER_DEBUG [48]|DEBUG|{"QueryResult": {"_rallyAPIMajor": "2", "_rallyAPIMinor": "0", "Errors": ["Not able to parse artifact type: hierarchicalrequirement/create"], "Warnings": [], "TotalResultCount": 0, "StartIndex": 0, "PageSize": 0, "Results": []}}

    ------------------------------
    Regi Varghese
    ------------------------------


  • 2.  RE: How to create a User story using Rest API from sales-force Apex
    Best Answer

    Broadcom Employee
    Posted Oct 02, 2019 09:56 AM
    This looks like it's an overlap of the discussion in your other post.  Let's maintain that thread for now