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

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

0 votes



One answer

Permanent link

You would have to write a custom work item save advisor. Some advisor examples: https://rsjazz.wordpress.com/?s=advisor&submit=Search

0 votes

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

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

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
× 7,495
× 1,220

Question asked: Jan 24 '20, 11:15 a.m.

Question was seen: 1,416 times

Last updated: Jan 27 '20, 3:38 a.m.

Confirmation Cancel Confirm