I'm trying to find a way to change the "Reporter" field of an issue at a specific transition within a workflow. I figure this should be a post-function and I know I'm in the right area when I select "Update Issue Field", but there isn't an option to change the reporter field.
"Assign issue to Reporter" is the opposite of what I want, I'd like to "Change Reporter to Lead Developer"
How can I make this work?
Thanks!
As Radu suggested, your script would just be:
issue.reporterId = issue.projectObject.leadUserName
Providing this is the first post-function that should be sufficient.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
https://plugins.atlassian.com/search/with?q=scripting&product=all
Try Jamie's "Script Runner" or my own baby (jjupin). Plenty of plugins there ...
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.
Unfortunately, I don't see any of these plugins that are compatible with Jira 4.4
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the script runner will work with 4.4. Some of the built-in scripts will not yet work with 4.4, but that doesn't matter if you're providing your own.
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.