Hi all
I want to automate some Settings in the process to automatically change agents when the value of the custom fields meets certain conditions. I try to set them using scriptrunner behaviours but I cannot find the manager field. Is there a better way to implement this scenario
Hi @arno
thanks for your question. Using behaviours, you would usually prefill values on create screens or hide elements in drop down fields.
As of setting assignee according to another issue field, the easiest way would be to use components, as they have component leads, which could automatically be assigned to new issues.
If you want to assign issues during work on an issue, some more information is needed, to give you a valid option. Could you please describe your setup a little bit more and maybe post some screenshots?
Hi @Kai Becker
Thank you for your reply
What I expect is that when I do a state transition, based on the field "platform&Product Name", for example, when it is "ASR1803" (this field is a custom concatenated field), the manager will automatically assign to the specified user, how to write this statement
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Kai Becker
Thank you for your reply
According to your suggestion, I have tried, but I found that listeners can only judge and change the event of the issue, I can not find information similar to field changes, can you give me an example to tell me how to operate
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @arno
I'm not quite sure what you mean, but listeners do listen to specific events and can then modify the issue for example.
It is possible to listen to all events or select a specific one.
In the code field below, you need to use groovy to set the assignee.
There should be some examples in the library I linked above, to get you started. Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.