Hi- I'm currently trying to script a post-function to assign an issue to a member of a role, but I'm not sure of the best way to go about this. Is this something that can be done easily with Script Runner?
Hey Mathew,
Please have a look at JIRA Misc Workflow Extensions: https://innovalog.atlassian.net/wiki/display/JMWE/Post-functions
It's paid add-on from version 2.5.7. Surely you may do it via scripted post-function using Jamie's answer from thread:
https://answers.atlassian.com/questions/13140/how-to-list-all-members-of-a-certain-project-role
Then get user from role in issues project, and assigning him/her to issue.
Regards,
Adam
There is an "Assign to role member" built-in script in the plugin since a few months ago... did you try to use that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There can be multiple users in a project role and issue can be assigned to a single user .You can notify a project role on issue events .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.