The System log shows that a Release in a project was Archived, but it is missing from the projects Releases page. It should be showing up with an "Archived" status label. How can I recover the release?
Hi @Diane Potter !
I'd recommend checking a couple of quick things first to pinpoint what happened:
If it was indeed only archived and hasn't been deleted, ensuring the view filter is set to All statuses should make it show up so you can unarchive it.
Hope this helps!
Hi Diane,
Adding to Jean's answer - if the filter tip doesn't turn it up, the REST API will settle it in one call, because it ignores the Releases page filtering completely.
GET /rest/api/2/project/YOURKEY/versions
That returns every version on the project, archived ones included, each with an "archived": true/false flag. I checked this on my own instance (Jira DC 11.3) before answering rather than trusting the docs: I created a version, archived it, and the endpoint still returned it with "archived": true.
So it splits your problem in two:
If the release shows up there, it was archived and not deleted, and it's only the Releases page hiding it. You can bring it back straight from the API without touching the UI:
PUT /rest/api/2/version/{id}
{"archived": false}
That returned 200 for me and the version came out of the archive.
If it doesn't show up there at all, it was deleted rather than archived, and Jean's audit log check is the right next step - deleting a version writes a different event than archiving one.
One small thing: the id you need for the PUT is the numeric version id from the GET response, not the version name.
Hope that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.