Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,656
Community Members
 
Community Events
165
Community Groups

Can I change customer permissions of a JIRA project via an API call?

Edited

Hi,

I want to change the customer permissions on a JIRA service desk project via an API call. Is it possible?img.pngThe default behavior is that whenever you a new project, anyone with an account on https://yourdomain.atlassian.net will have an access on the portal and can send requests to the projects.

I want that whenever I create a new project, its permissions should be set to `Customers my team adds to the project` by default or at least I could change it with a REST api call. Is there some way to achieve this?

1 answer

1 accepted

0 votes
Answer accepted

Hello @Stakater SRE _ 1,

Thank you for reaching out to Atlassian Community!

When creating a project in Service Desk, by default it should be set as "Customers my team adds to the project", but this only happens on a Standard Jira site.

I tested here both on a Free and Standard Jira site and created a next-gen and a classic project. On the Free site, customer permissions are set as "Anyone with an account" for all new projects. On Standard sites, the permission is set to "Customers my team adds to the project".

There is a bug where I reported this issue a while ago:

Please, click on "This affects my team" and also watch to receive updates about the bug.

Regarding the API, there is no endpoint that allows changing customer permissions.

Regards,
Angélica

As you mentioned, the official api don't mentions any such endpoint that provides this support. However, I found this endpoints that can help us change the project permission with the api call.

EndPoint: https://yourdomain.atlassian.net/rest/servicedesk/1/servicedesk/{projectIdOrprojectKey}/settings/requestsecurity

Like # people like this

Hi @Stakater SRE _ 1 

Hope you are well.

Can you please advise on how you updated the project permissions with the above API?

I am trying to set the "serviceDeskIpenAccess" to "true".

Is there a POST or a PUT to this API?

Regards,

Nawaaz

Like owen.klan likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

327 views 0 10
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you