It's all about the answers!

Ask a question

Set Delete WorkItem permission to role with Plain Java API


Angelo Corna (26358382) | asked Apr 09, 5:09 p.m.
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

Comments
Ralph Schoon commented Apr 10, 2:37 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
  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
Angelo Corna (26358382) | answered Apr 10, 2:45 a.m.
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 ......

Your answer


Register or 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.