Hi Community!
I have configured bug workflow as per the requirements and configured script runner post function in one transition for assign issue to the user in specified role, here the assignee would not change still remains same as current user. is there any script runner post function for this. please help me.
Exactly which SR function are you trying to use here? (There's a few that ask for the parameters in your screenshot, and I don't want to answer for the wrong one)
I'm using this expression in Script context "issue.setAssignee('XXXXXXXX')"
XXXX-is Role and the assignee still remains same and not changed to specified role.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can't assign issues to roles, you can only assign them to individuals. You'll need to replace XXXX with a specific user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nic Brough -Adaptavist- There is an option in Workflow Post Functions provided by Script runner there is an option for assign Issue (screen shot below) post selecting the option, when we go the script page we have option to choose project role. when we chose a role that is present in the project the issue is still not getting assigned.
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.