It's all about the answers!

Ask a question

[closed] How do I make sure work item is not closed by work item owner ?


R Z (1273252) | asked Mar 09 '23, 6:08 a.m.
closed Mar 10 '23, 5:19 a.m. by David Honey (1.8k17)

Team,


 I have a situation where work item owned by user should not be closing the work item.
 What I meant was, except work item owner others should be able to close the work item.
 Is it possible via Conditions or API's ? If yes, please share me the sample code or reference.

Thank you

The question has been closed for the following reason: "The question is answered, right answer was accepted" by davidhoney Mar 10 '23, 5:19 a.m.

Accepted answer


permanent link
Ralph Schoon (63.1k33645) | answered Mar 09 '23, 8:02 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 You would have to create a custom advisor/pre-condition to be able to do that. It would have to be the inverse from this one: https://rsjazz.wordpress.com/2014/05/26/only-owner-can-close-workitem-advisor/

R Z selected this answer as the correct answer

Comments
Ralph Schoon commented Mar 09 '23, 8:03 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

This requires deployment of the extension on the EWM server. Keep that in mind. If you have a cloud hosted environment, you might not be able to deploy.  


R Z commented Mar 10 '23, 5:07 a.m.

Thank you, Ralph.