When I move an issue from one project to another, is there a way to preserve the issue numbers?

For example: if I move task A-1 to project B, I would like for the task to have key B-1 in project B.

1 answer

1 accepted

This widget could not be displayed.

Well, at least not out of the box or manipulation the database I guess since the keys are continuous. YOu might already have one issue with B-1 as issue key in your target project...

Thanks, that makes sense.

If the target project is empty, or I can otherwise guarantee non-overlap of the numbers, how do I get the issue numbering to be preserved? Must the query which fetches the source records impose an ordering on the records, so that they'll be moved into the target project in the same order as they were retrieved by the query? I suppose that for such a stunt to work, one must also find a way to force the target project issue number to start at a particular value?

Forcing the target project to start at a fixed value is relatively easy. There is a pcounter column in the project table and you can reset it to the value you want. You will have to do it when JIRA is offline.

Note that the issues created in the target project will still be continuous even if it is not in the source project.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

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...

97 views 1 0
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