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 vote

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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,711 views 17 21
Read article

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