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