Hi team.
I'm currently working on an automation tool that will back up and restore all the site-level settings, projects, and issues on Jira Cloud. It covers backup and restores of all site-level settings (issue types, workflows, screens, fields, etc.), boards, filters, dashboards, projects and project metadata, and issues and their metadata. We only back up Company-Managed projects, not Team-Managed projects.
However, since we do not back up Team-Managed (Next-Gen) projects, during restore we observed failures for certain items (like boards, filters, and dashboard gadgets) that were originally linked to Team-Managed projects. As far as I understand, most site-level settings in Jira Cloud (like workflows, screens, issue type schemes, etc.) are global and not linked to Team-Managed projects.
However, there are some items that are created specifically for a Team-Managed project, such as:
Since these items appear in the standard GET REST APIs (Boards API, Filters API, etc.), they look similar to items from Company-Managed projects even though they belong to Team-Managed ones.
My questions are:
style field ("classic" vs "next-gen") in the /rest/api/3/project/{id} response — is this the recommended method?GET /rest/api/3/dashboard), is there any filter to show only the settings linked to Company-Managed projects?Any best practices or recommended approach from Atlassian for handling these scenarios would be really helpful.
Thanks in advance!