I've written this as a plugin for free. Binary you can find here:
Fell free to raise an issue for any change requests at https://bitbucket.org/intenso/change-reporter/issues
Check this (paste this to Script Runner )
import com.atlassian.jira.component.ComponentAccessor; import com.atlassian.jira.issue.Issue; import com.atlassian.jira.issue.IssueManager; import com.atlassian.jira.issue.MutableIssue; String issueKeyFrom = "KEY-1"; String issueKeyTo = "KEY-2"; IssueManager issueManager = ComponentAccessor.getIssueManager(); Issue issueFrom = issueManager.getIssueObject(issueKeyFrom); MutableIssue issueTo = issueManager.getIssueObject(issueKeyTo); issueTo.setReporter(issueFrom.getReporterUser()); issueTo.store();
You'll need a post-function to do that during a transition. You might want to write one for yourself or maybe use the script-runner plugin (it provides a framework and hooks for you to write stuff like this and saves you having to write things from scratch)
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs