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

How to enforce work item one parameter to depend on another parameter?

I am creating or changing a work item and like to enforce one parameter change value to another parameter.

Example 1:  I am changing parameter "Planed For" and like to enforce to change "Owner" parameter.
Also, would it also be possible to populate the choice of owner based on "Planed For:" parameter?

Example 2:  I am changing the Status parameter from Development to Testing and like to force to change the Owner parameter.

Also, how to make work item parameters a mandatory parameter?

Thanks

0 votes


Accepted answer

Permanent link

 Interesting, I forgot the Precondition Implied Attributes that does a little bit based on state change and changes of the category that force team area changes. 


Tanveer Zubair selected this answer as the correct answer

0 votes

Comments

Thanks Ralph.    


One other answer

Permanent link

 Calculated values could theoretically be used. The links from https://jazz.net/forum/questions/260479/how-to-auto-fill-work-item-parameters all apply. Note that 

  • The calculated value interferes with manual selection that means it has to return the current value if the value must not change
  • The JavaScript API is limited in the attribute types supported and for complex types such as owner, you have to use UUID's
  • All this stuff has performance implications

0 votes

Comments

Note that I personally think it is not a good idea to remove the owner when changing the planned for. In the long run the users will probably not be trilled by that. 

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,938

Question asked: Feb 06 '19, 10:08 a.m.

Question was seen: 2,381 times

Last updated: Feb 07 '19, 4:11 p.m.

Related questions
Confirmation Cancel Confirm