Forums

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

Permissions for Team managed projects

Ruaan Kruger September 2, 2024

Hi there,

I'm using Jira cloud and we are using team managed projects. From documentation I understand that the permission need to be set to private.

I am an admin and member on the project.

Using the API : rest/api/3/version/:id/relatedwork

I get the following response:

{
    "errorMessages": [
        "You must have browse project rights in order to view versions."
    ],
    "errors": {}
}
I then explored:  rest/api/3/mypermissions?permissions=BROWSE_PROJECTS
and the havePermission property is set to false.
Most documentation I find points to permission schemes. 
My question is therefore:
1. How do I get the permission for team managed projects?
2. Do I need to convert our projects to permission schemes?
Many thanks! 

1 answer

0 votes
Marc - Devoteam
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.
September 2, 2024

Hi @Ruaan Kruger 

Welcome to the community.

A Team Managed project is private or public.

Private means only users added to the project have access, so no access via API as well.

Public means all users in your Jira instance with a license have access to the project.

Permission schemes don't exist on Team managed project, only on Company Managed.

Ruaan Kruger September 2, 2024

Thanks @Marc - Devoteam :)

I'm not entirely clear on you mentioning no access via the API. 

I can query the collection of versions (releases) for this project no problem using rest/api/3/project/:projectIdOrKey/versions.

So the API seems okay. However, I cannot query the issues linked to said version.

Is there a workaround for this?

 

Marc - Devoteam
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.
September 2, 2024

Hi @Ruaan Kruger 

As Jira admin, you are able to query versions, but no issues as they subjected to permissions on project level.

Versions you can query based on admin permissions in Jira.

So you need to be added as a user on the private team managed project to query issues in the project via API

Ruaan Kruger September 2, 2024

Hi @Marc - Devoteam 

I think I am... If I look at the Project Settings > Access, I'm both a member and an admin (see screenshot).

Is there some place else where I need to check permissions?

Thanks for your help so far!

 

Ruaan Kruger September 2, 2024

jira-access.png

Marc - Devoteam
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.
September 2, 2024

Hi @Ruaan Kruger 

And you need access to all other projects in the Jira instance as issues related to the version can be in projects you don't have browse permissions too.

That's what the exact issue means.

Via the Jira GUI, JQL the version and see all issues related, check if you have access in all issues.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events