Forums

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

How do we add more custom project permissions?

Mathew Lois Cabahug
October 16, 2022

As a developer, I want to migrate my own custom project permissions to the Jira default project permissions so the users can easily navigate.

2 answers

1 accepted

1 vote
Answer accepted
Mathew Lois Cabahug
October 18, 2022

Found the solution for this you can simply add 

<project-permission key="SAMPLE"
i18n-name-key="SAMPLE"
i18n-description-key="SAMPLE"
category="PROJECTS" />


in the atlassian-plugin.xml. 

This format can be seen in system-project-permissions.xml where all default settings are stored

Walter Buggenhout
Community Champion
October 18, 2022

👍

1 vote
Walter Buggenhout
Community Champion
October 17, 2022

HI @Mathew Lois Cabahug and welcome to the Community!

Whilst I am having some serious doubts if you would want to do this (and if it's overall even possible in the regular context of Jira), it is possible to add custom permissions if you are writing an app on top of the platform. Usually these are intended to create additional permissions related to the feature set of your app.

Jira permissions are very granular already, so before you start adding even more, have a look into reference documentation on permissions in Jira. That may be helpful:

REST API documentation for adding custom permissions to your app:

Hope this helps!

Mathew Lois Cabahug
October 17, 2022

Hi @Walter Buggenhout Thanks for the response.

We already have our own custom permissions for our plugin already visible in project settings in a tab.  

We wanted it to be added here like in this example from another plugin I just wonder how they did this.
x-ray sample.png

Like Alexis Parra likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events