Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Using the API to tell if a jira project is team or company managed

Admin acme-deepcred February 5, 2023

Hi, I'm fetching JIRA projects using the API in order to manage their permissions.

I see that company-managed projects manage their permissions using permission-scheme and team-managed projects do that using roles (correct me if I'm wrong?)

Using the API, I couldn't tell if a project is team or company managed.

Your help will be appreciated, thank you in advance!

1 answer

2 votes
Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 5, 2023

Hi @Admin acme-deepcred Using this API you can find the Project type :- 

https://jira.atlassian.net/rest/api/3/project/{projectIdOrKey}

If "style":"next-gen" = Team-Managed Project

If "style":"classic" = Company Managed project

Thanks,

Bill Sheboy
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.
February 5, 2023

Hi @Admin acme-deepcred 

Yes, and...to Vikrant's answer, here is the documentation for calling that function:

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/#api-rest-api-3-project-projectidorkey-get

Kind regards,
Bill

Like Vikrant Yadav likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Jira Events