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.
|
Accepted answer
![]()
Ralph Schoon (62.0k●3●36●43)
| 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
|