Rally Software

 View Only
Expand all | Collapse all

Hi AC team, is there a way how to bulk create / update portfolio items using the webservice API?

Jump to Best Answer
  • 1.  Hi AC team, is there a way how to bulk create / update portfolio items using the webservice API?

    Posted Feb 13, 2017 11:53 AM

    Something like posting:

    {
       "Feature":
       {
          "Name" : "This is a test for creating a Feature.",
          "Description" : "Thisi s a test feature description",
          "Project" : "project/11111111111"
       }
    },
    {
       "Feature 1":
       {
          "Name" : "This is a test for creating a Feature 2.",
          "Description" : "Thisi s a test feature description 2",
          "Project" : "project/11111111111"
       }
    }

     

    OR

     

    {
       "Feature":
        [

          {
             "Name" : "This is a test for creating a Feature.",
             "Description" : "Thisi s a test feature description",
             "Project" : "project/11111111111"
          },

          {
             "Name" : "This is a test for creating a Feature 2.",
             "Description" : "Thisi s a test feature description 2",
             "Project" : "project/11111111111"
          }

       ]

    }

     

    to

     

    AGILECENTRALURL/slm/webservice/v2.0/portfolioitem/feature/create?workspace=workspace/WORKSPACEID



  • 2.  Re: Hi AC team, is there a way how to bulk create / update portfolio items using the webservice API?

    Posted Feb 15, 2017 09:08 AM

    Yes, there are multiple ways of doing something like this.  

     

    Since it sounds like you have a defined list of Features, I suggest trying the CSV import, as it is the easiest and fastest way.

     

    Go to your Portfolio Items Page, and get to Features, then click the Arrow over to the right

     

     

    That will bring up a dialog with a CSV template for import.  May want to practice a bit in a sandbox if its available.

     

    If you are looking for something more dynamic, you may need to give more detail.  But this sounds like what you may be looking for.

     

    Good Luck

    Tom



  • 3.  Re: Hi AC team, is there a way how to bulk create / update portfolio items using the webservice API?

    Posted Feb 15, 2017 09:50 AM

    Hi Tom,

     

    Thank you very much for your response. I am looking into importing multiple portfolio items solely by using the API (not the UI) and would like to avoid posting multiple requests  -one for each portfolio item.


    Regards,
    David



  • 4.  Re: Hi AC team, is there a way how to bulk create / update portfolio items using the webservice API?
    Best Answer

    Posted Feb 16, 2017 06:36 PM

    Hi David,

     

    We do not currently support creating multiple artifacts in one request. You would need to create a loop and send a request for each iteration. 

     

    Might be a good WSAPI feature request.

    https://ideas.rallydev.com 

     

    Thanks,

    Sean Davis