Forums

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

how to check issue is archived or not using rest api

Ramesh Krishnan
Contributor
November 18, 2025

How to check issue is archived or not using rest api, is there field for track archieve issue

3 answers

2 votes
Sunny Ape
Banned
November 19, 2025

Hello @Ramesh Krishnan 

There is no direct way to do that, apart from parsing the event log, as @Nikola Perisic has correctly advised.

A workaround is use the Export Archived Issues endpoint to fetch all the archived issues, then compare that list against your usual Work Item queries to infer which ones are archived. It's a very long-winded workaround, but it does work.

2 votes
Nikola Perisic
Community Champion
November 18, 2025

Hello @Ramesh Krishnan 

There isn't a direct way to retrieve this, rather you need to look for the change logs API:

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-changelog-get

 

Sunny Ape
Banned
November 19, 2025

This is the most correct answer.

In more detail, the specific entry to look for in the event log are these items:

{
"field": "softArchived",
"fieldtype": "jira",
"fieldId": "softArchived",
"from": "false", <-- Will be false when archived, then true when restored
"fromString": null,
"to": "true", <-- Will be true when archived, then false when restored
"toString": null
}

 

Like # people like this
Sergio Da Silva
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 22, 2026

Thank you @Nikola Perisic

An alternative yet equivalent approach is to use the "Get Issue" endpoint and request to expand the changelog in the response, which would then have to be parsed and analyzed (possibly involving paginating through changelog entries):

2026-01-22 17_04_10-Downloads - File Explorer.png

Still, it sucks to not have a simple straighforward indicator in a dedicated field.

Do you know if there exists a related bug or feature request that has been already submitted to Atlassian?

0 votes
Gor Greyan
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 Champions.
November 18, 2025

Hi @Ramesh Krishnan

Thanks for the question.

I found the following article where it describes how you can do that.

https://community.developer.atlassian.com/t/programmatically-test-if-an-issue-is-archived/35276

Sunny Ape
Banned
November 19, 2025

I know you're keen to answer as many questions as possible on as many topics as possible every day, but wish you would actually test or validate half the advice you give people @Gor Greyan . That link you provided is to a five year old article about Jira SERVER.

The is no archiveddate or isArchived or archived ... or any similar object that is directly returned from any of the Jira Cloud REST APIs for any Work Item. This is well known and documented in JAC feature requests such as JRACLOUD-93868 and others.

Like Ramesh Krishnan likes this
Gor Greyan
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 Champions.
November 19, 2025

Hi @Sunny Ape

Thank you for your feedback))

First, I didn't notice that the post was made in 2020.
Second, I didn't state that this 1is 00% working, I said that I found that.
Third, you can be sure that I am testing it when providing a solution; otherwise, I don't state that it is working.

Have a good day.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events