Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

"Intelligent" bulk operations on JIRA issues possible?

Lasse Kaiser September 11, 2011

We have a number of projects in JIRA, each with a large number of issues. All these issues are to be moved into one single project. No problem here.

But I want to preserve the previous issue ID in a text field somewhere, so that users can still locate their issues by their previous IDs.

Is this possible, and if so, how?

Example:

Old project ABC has 1234 issues, named ABC-1 thru ABC-1234 (assuming that no issues have been deleted); old project DEF has 2345 issues named DEF-1 thru DEF-2345 (assuming that no issues have been deleted here, either).

I will then migrate all issues in project ABC, followed by all issues in project DEF, to project XYZ

Following the migration, new project XYZ will have 3,579 issues, named XYZ-1 thru XYZ-3579.

How do I bulk move issues, so that I can find a reference to e.g.

  • "ABC-100" within issue XYZ-100
  • "DEF-1" within issue XYZ-1235

Thanks.

Best regards,

Lasse Kaiser

3 answers

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 12, 2011

You don't need to do any of this, if you really do mean just "I want my users to be able to find their issues by the old id"

Try this:

  1. Create issue ABC-123
  2. Move it to project XYZ
  3. Use the url http://yourjira/browse/ABC-123 or type ABC-123 into the quick search

You'll find Jira recognises the old reference and takes you straight to the new issue.

Bob Swift
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 12, 2011

This is certainly the best thing to do if you just need your users redirected to the current one. We actually (in a different way) track all the previous ids (including non-JIRA migrated issue ids).

0 votes
Lasse Kaiser September 12, 2011

Hi both, and thanks for your quick replies :-).

I will go with Nic's answer for now but will certainly keep Bob's answer in backup if the need for explicit saving of former issue numbers should arise.

0 votes
Bob Swift
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 11, 2011

One way is to use JIRA Command Line Interface :

  1. Add your custom field
  2. With existing project structure, use runFromSql action to run setFieldValue on each issue selected to set the custom field to the current issue id.
  3. Move your issues.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events