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

How to use RQM REST API to remove a member from RQM project area

How can I use RQM REST API to remove a member from a project area? I checked the RQM Utility API and the resource of RQM, but I didn't find anything like the member.

0 votes


Accepted answer

Permanent link
I really doubt that such feature is included in the RQM REST API. Your best bet will be to use Firebug or some similar tools to capture the traffic when you perform such operation in the web client so as to get the URL. Such interface may not be published and supported though.
feng chen selected this answer as the correct answer

0 votes

Comments

The remove member action on the web is executed by JavaScript, then the "Save" button will be click to update the configuration.

I'll try to capture the traffic to see, but I think after I click the "Save" button, the server will take control to handle the remove action(or maybe just a configuration update).

Put it simply, you make a POST request to https://<server>:<port>/qm/service/com.ibm.team.process.internal.service.web.IProcessWebUIService/projectArea with POST parameters similar to this.

itemId=_ZcMRAK2SEeO_fciXVKJ7Tg
jsonAdmins={}
jsonMembers={"remove":["_RuUmZa2SEeOl9c5MTwnjBg"]}
memberVisible=false
owningApplicationKey=JTS-Sentinel-Id
processLocale=en_AU
publicVisible=true
specificUserVisible=false
stateId=_5qEnEOcUEeOI95UuFUPsjQ
You need to figure out how to get those IDs though. And there may be other things required in the POST request to make it successful.

Thanks very much! It helps a lot.

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
× 6,132

Question asked: May 29 '14, 4:46 a.m.

Question was seen: 4,346 times

Last updated: May 30 '14, 3:01 a.m.

Confirmation Cancel Confirm