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

1 vote
Sunny Ape
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.
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.

1 vote
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
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.
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 Nikola Perisic likes this
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 Leaders.
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
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.
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 Leaders.
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