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

How do you update RDNG process template using HTTP clients?

I'd want to update the RM process template using HTTP client such as HTTP Requester? Do you have any steps on how to get XML code and update to put back to in RM server?

0 votes



One answer

Permanent link

Normally you one could use RTC Eclipse client to connect to /rm or depending your context of RM server. And update the XML source directly in the Eclipse client and save.

In some case Eclipse client cannot be used or you wanted to HTTP clients, such as HTTP Requester. Here are the steps.
1. Use HTTP requester to do a GET for the affected process template

(example, https://clm603.ibm.com:9443/rm/process/project-areas/_-3BQwPrGEeeNJLzI7Sh8JA/spec)
the UUID of the project are can be found from RM Manage this project link)
2. Set headers to  Accept Application/xml
3. Click on GET
4. You will get response code 200 with XML process template
5. Paste the entire content to notepad
6. To Update process template
7. Paste the updated notepad content back into HTTP requester (inside Content to send)
   For POST to update, you need to set two headers
   Accept : application/xml
   X-Jazz-CSRF-Prevent and JSession ID of the project area (you can use fireBug to get the session id)
  If some reasons,
X-Jazz-CSRF-Prevent do not work, you can use another Referer
  Referer :
https://clm603.ibm.com:9443/rm/web
8. Do a POST to update the process template

If POST is successful you will see message 201 created.

Note, before perform a GET on RM, you need to login from the browser session.

0 votes

Your answer

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
× 7,501

Question asked: Feb 09 '18, 4:23 a.m.

Question was seen: 1,463 times

Last updated: Feb 09 '18, 4:35 a.m.

Confirmation Cancel Confirm