It's all about the answers!

Ask a question

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


Michael Oyebola (31114) | asked May 31 '16, 12:22 p.m.
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. 

Accepted answer


permanent link
Ralph Schoon (63.1k33646) | answered Jun 03 '16, 2:58 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Jun 03 '16, 3:07 a.m.
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

Your answer


Register or 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.