bulk transition issues to set assignee == reporter

Hi All

I have a specific requirement on jira (jira5.0.2)

I want to be able to bulk transition multiple issues to set their assignee as their reporter.

It is very tedious to edit each issue manually and set the assignee as its reporter (for testing purposes).

I want to make use of the bulk change feature but do not know how do i bulk change multiple issues to set assignee as the reporter.


2 answers

1 votes

I'm afraid you can't do it. Bulk edits set "field = absolute-value", not "field = some data extracted from somewhere else"

Your choices are to break up your bulk edits, or start coding/scripting. (Breaking the edits up means "filter for reporter = A, set all assignees to A, filter for reporter =B, set all assignees to B, etc)

Thanks Nic for your comments, assuming we rule out bulk edit option, what other options we have to achieve my need (assign assign=reporter)

Scripting/coding is the next step.

Do you have the script-runner add-on installed? That would let you do it without having to write more add-ons.

Hi Nic, yes i do have script runner. Any high-level suggestions on how that can be used to achieve my need..

Run a query, for each issue update it so that reporter = assignee or whatever.

It's going to take you longer than doing it manually if you don't have experience, but it will set you up to do more automation tasks in the future.

Or similar to Vincent's suggest - create a global transition with a post-function that executes one line of script:

reporter = assignee

(make sure it's first post-function in the list). And then bulk transition all issues through that transition.

You can also desgin a Global Transition with "Assign to Reporter" post-function in concerned Workflows (with correct conditions for restricting to Administrator).

Also, you will have just to perform a Bulk Transition.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,811 views 11 18
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot