How can I change "Reporter" via workflow to related issue's "Reporter" during "Create Issue" transition or "Copy issue function"?
Thank You
I've written this as a plugin for free. Binary you can find here:
https://bitbucket.org/intenso/change-reporter/src/2a119369c331/change-reporter-1.0.jar
Fell free to raise an issue for any change requests at https://bitbucket.org/intenso/change-reporter/issues
Thanks!
Is it possible to use this plugin to set the Reporter to be the current user?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In version 1.1 I've added requested feature.
https://bitbucket.org/intenso/change-reporter/src/265a1319ccc1/change-reporter-1.1.jar
Have fun!
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.
Plugin is available at Marketplace from
https://marketplace.atlassian.com/plugins/com.intenso.jira.change-reporter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Krzysztof Skoropada [Deviniti],
I'm trying to use the plugin to set the assignee based on a custom user field, but it doesnt work. I have the following set up, can you tell me where I'm going wrong?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Appreciate if you can paste the script for changing reporter as I need that too :-)
Thanks!
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.