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