Forums

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

Archived project information via API ?

Renni Verho
Contributor
August 25, 2021

Hi, 

 

we have Jira instance where set of projects are archived. 

Now plan is to merge 2 instances to one and would like to prepare for possible conflicts (eg. import project using same keys as archived project)

Tried to list all projects from target instance, but found out that archived are not in json provided thru rest api :  /rest/api/latest/project. 

Is there way to list archived projects (and other information from archived projects) or is unarchive and reindexing only way to start safe merge ? 

 

2 answers

1 accepted

2 votes
Answer accepted
Mohamed Benziane
Community Champion
August 25, 2021

Hi,

You can use this API to get all project even archived project

https://docs.atlassian.com/software/jira/docs/api/REST/8.18.2/#project-getAllProjects

You just need to pass a parameter

includeArchived boolean  whether to include archived projects in response, default: false

Renni Verho
Contributor
August 26, 2021

Thanks!

That were simple, just managed missed that in API doc. 

0 votes
Renni Verho
Contributor
August 25, 2021

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
atlassian, atlassian community, loom ai, atlassian loom ai, loom, atlassian ai, record recaps of meetings, meeting recaps, loom recaps, share meeting recaps,

Loom’s guide to great meetings 📹

Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.

Register today!
AUG Leaders

Atlassian Community Events