Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Update iteration data via REST API / JSON

Hi,


I'm a newbie to Jazz and I am trying to update the iteration date for a story over a REST request using a JSON body.
1) I can get the Iteration uuid from the 'name' by calling: 
'https://alm.server.com/ccm/rpt/repository/foundation?fields=foundation/iteration[name=''Sprint 241'']/(id|name|itemId)'
2) I have updated other fields using a JSON body with the following format and a REST Request using the PATCH method:
'{ "' + sFieldname + '" : "' + sText + '" }'
(baseUrl is 'https://alm.server.com/ccm/oslc/workitems/#wi_id#/')

(How) can I construct a JSON body to update the workitem base url using PATCH and the uuid of the Iteration?

Cheers

Pete

0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,142
× 7,618
× 1,448

Question asked: Apr 23 '25, 8:52 a.m.

Question was seen: 937 times

Last updated: Apr 23 '25, 8:52 a.m.

Confirmation Cancel Confirm