Forums

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

Is there any way to determine if a Jira Component is active or archived using the API?

Phil Mitchell
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!
June 15, 2023

Using the Jira component api endpoint to pull information about the component:

rest/api/latest/component/16682

... which returns:

{"self":"https://<server>/rest/api/2/component/16682","id":"16682","name":"<component name>","assigneeType":"PROJECT_DEFAULT","realAssigneeType":"PROJECT_DEFAULT","isAssigneeTypeValid":false,"project":"<project name>","projectId":15081,"archived":false,"deleted":false}

expected to see "status":"Active" or "status":"Archived"

Is there any way to determine if a Jira Component is active or archived using the API?

 

Update: Two minutes after I posted this question, I noticed

"archived":false in the response

(never mind)

 

1 answer

1 accepted

0 votes
Answer accepted
Mohamed Benziane
Community Champion
June 15, 2023

you can mark you question as solved

Suggest an answer

Log in or Sign up to answer