Forums

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

Jira Issue ID & API's

Vish October 4, 2021

Hello,

I am trying to restore back some issues that where accidently deleted in my Jira cloud tenant.

I am using the Jira API's to restore back the deleted issue, when I do so, the issue gets a new ID.

1. Is there a way I can get back the original issue ID?

2. if the above is not possible,  Is there a way I can re-direct URL's to the new ID?

Example: 

Issue that was deleted - TEST-4003 https://testsetup1.atlassian.net/browse/TEST-4003

When I restored the Issue back it got a new ID - TEST-5015  https://testsetup1.atlassian.net/browse/TEST-5015

Given that TEST-4003 was deleted the URL - https://testsetup1.atlassian.net/browse/TEST-4003 does not exist, is there a way I can redirect https://testsetup1.atlassian.net/browse/TEST-4003 to /TEST-5015 ?

Thank you

1 answer

1 accepted

2 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.
October 4, 2021

Neither of those can happen.  When you delete an issue it is gone, you have destroyed it entirely and there is nothing left to work with.

Your "restore" is not restoring the deleted issues, it is creating new issues - that's why the counter carries on going up, Jira increases the project's issue counter for each new issue.

The url can't be set to redirect because there isn't anything there to redirect, people are landing on a page that doesn't exist, and there's nothing in there that you could put a redirect into.

Vish October 4, 2021

Thank you @Nic Brough -Adaptavist-

The only way to perhaps restore is to use the jira backup & restore capability, but that would mean doing that for the entire tenant (very intrusive process for restoring back one or few issues).

Suggest an answer

Log in or Sign up to answer