How to set the owner to the submitter when create workitem?
Hi, anyone knows how to implement this req?
When the user submit the work item, we want to set the owner to the default submitter. Thanks very much! |
2 answers
Millard Ellingsworth (2.5k●1●24●31)
| answered Mar 12 '12, 7:12 p.m.
FORUM ADMINISTRATOR / JAZZ DEVELOPER Hi, anyone knows how to implement this req? I was able to do this by creating a Default Values Attribute Customization (I called it "SubmitterIsFirstOwner") and then setting that customization on the Owner attribute of the Defect work item type. I set the default value to be "Authenticated User" (which should be the person logged in and creating the work item). When I created a new Defect, my user was immediately populated as the owner. To use this approach for other work item types, you would need to set it on the Owner attribute of each work item type you want to behave this way. Defect is probably a bad choice as you may discourage people from filing defects if they then immediately own the work item. ;-) Comments
Helen Yao
commented Jun 14 '13, 10:38 a.m.
Which RTC are you using? There is no way to set the "work item type" on RTC 3
|
Nice Method~
Hi, anyone knows how to implement this req? I was able to do this by creating a Default Values Attribute Customization (I called it "SubmitterIsFirstOwner") and then setting that customization on the Owner attribute of the Defect work item type. I set the default value to be "Authenticated User" (which should be the person logged in and creating the work item). When I created a new Defect, my user was immediately populated as the owner. To use this approach for other work item types, you would need to set it on the Owner attribute of each work item type you want to behave this way. Defect is probably a bad choice as you may discourage people from filing defects if they then immediately own the work item. ;-) |
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.