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

Set value when saving a work item type (User Story)

I will like to set a value for specific attributes [story point= 0pts] and [planned For= Trash] for my user stories when the state is moved to invalid. I have tried using the precondition behavior but that still doesn't give me the result I am looking for. 

0 votes


Accepted answer

Permanent link
A precondition can't give you that, because a precondition runs before (pre...) the save. It also is a condition which pretty much says that it guards the save and can prevent it.

You want a follow up action aka a participant.
https://jazz.net/library/article/1000/

Examples see: https://rsjazz.wordpress.com/?s=participant

Most relevant: https://rsjazz.wordpress.com/2012/11/27/resolve-parent-if-all-children-are-resolved-participant/ and https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/ and https://rsjazz.wordpress.com/2012/08/20/manipulationg-work-item-enumeration-values/

Also: https://rsjazz.wordpress.com/2012/12/14/do-not-modify-the-triggering-element-in-an-operationadvisor/


Michael Oyebola selected this answer as the correct answer

0 votes

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

Question asked: May 31 '16, 12:22 p.m.

Question was seen: 1,226 times

Last updated: Jun 03 '16, 3:07 a.m.

Confirmation Cancel Confirm