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

Set Delete WorkItem permission to role with Plain Java API

I need to give the Delete WorkItem permission to a role in about 100 Project Areas.
How can I do this programmatically, for example using the Plain Java APIs?

Thanks in advance.
Bye

0 votes

Comments
  1. Why would you want to enable delete work item in so many project areas?
  2. I do not have examples for Plain Java Client Libraries, you would have to search if you find something. I would search the SDK/Plain Java in packages com.ibm.team.process.* 
  3. If you have a role there is an API with this capability, the Jazz Foundation API could assign the role:  https://jazz.net/wiki/bin/view/Main/DraftTeamProcessRestApi#Role_Assignments_collection 



One answer

Permanent link
Ralph,

I need to delete all the workItems in all the project areas. 
I'm able to do this with the Plain Java but I need the permissions ......

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
× 10,952

Question asked: Apr 09 '24, 5:09 p.m.

Question was seen: 640 times

Last updated: Apr 10 '24, 2:45 a.m.

Confirmation Cancel Confirm