Ristrict change of state of work item based on state of another work item state
Example: I have a work item A12345, I would not be able to change of it's state to "Ready for Deployment" if another work item B12345 is not on a specific state.
Thanks
|
One answer
Ralph Schoon (63.5k●3●36●46)
| answered Jan 24 '20, 11:18 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER You would have to write a custom work item save advisor. Some advisor examples: https://rsjazz.wordpress.com/?s=advisor&submit=Search
Comments
Ralph,
Thanks for your quick reply.
Do you have any specific example for it. I am not familiar of custom work item advisor. Thanks
Ralph Schoon
commented Jan 27 '20, 2:30 a.m.
| edited Jan 27 '20, 3:38 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The blue thing in my answer is called a link. I would suggest following it to the examples.https://rsjazz.wordpress.com/2014/05/26/only-owner-can-close-workitem-advisor/ is a very simple example of an advisor that prevents work item state changes. You will have to do more in your advisor. You will have to locate the other work item and its state. How you can do that, depends on your special requirements. There are examples for these APIS on the blog as well. The blog features a search capability and tags that you can use to locate these posts. If you use links between the work items search for link-api or links. One of my very first blogs is around parent child links in an follow up action (aka participant, which is very similar to an advisor).
|
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.