How to: Assign defect to the user with particular role?
Hello!
My client has multiple projects going in parallel with huge number or participants in the process. So after doing his job with the defect user needs to assign defect to the next user but there may be cases when you need assign defect just to a role, for example assign defect to the senior developer of this project and user doesn’t know what’s the name of this developer (s). Is it possible to implement such behavior? Should I develop some follow-up action for filling owner field or I could use some simpler approach? -thanks in advance |
Accepted answer
Ralph Schoon (63.7k●3●36●48)
| answered Dec 05 '12, 8:58 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Timur,
there is no way to assign just a role as "Owner", as far as I know. I was not able to find an attribute type "Role" either. In addition there is no way I am aware of to search users and roles in scripts. You can only set the owner value with scripts by passing a valid user ID. I am not sure how you want to model this behavior, mainly,because I am not sure what data to use to decide when to delegate to what role and how to trigger this. I would however look into an extension. This participant shows how to access user and role information in a participant: http://rsjazz.wordpress.com/2012/11/30/a-create-approval-work-item-save-participant/ and should give you a good idea of options you have. Timur Markunin selected this answer as the correct answer
Comments
Timur Markunin
commented Dec 05 '12, 9:32 a.m.
Thanks a lot, Ralph!
Ralph Schoon
commented Dec 05 '12, 9:44 a.m.
| edited Dec 05 '12, 9:44 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
How could I miss that there is a Role based value set in the Attribute Customization?
|
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.