It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Edit permission at the Role Level in workflow

Mark Gordon Nov 14, 2014

JIRA,

We want to do jira.permission.editable.projectrole= Project_Supervisor but as we see, the projectfole needs a number. So, lets say it is jira.permission.editable.projectrole= 10567.

Our projects have the same role. So as we replicate a new project on the JIRA instance, in order for this workflow to work, the number MUST be the same - we can not be going into the workflow and altering that number. How can we gaurantee that the number is the same?

The best solution is that the jira.permission.editable.projectrole takes a name.

We also can not use a group because the group name changes per project.

I have seen the link jira.permission.editable.xxx as Step Property  but this does not solve it.

 

Any ideas?

thanks,

 

1 answer

1 accepted

0 votes
Answer accepted
Matheus Fernandes Atlassian Team Nov 18, 2014

Hi Mark,

The numbers you mean are actually the IDs of the Project Roles. The IDs will be the same throughout JIRA, not matter which project. You can see this with the following query in JIRA's database:

SELECT id, name FROM projectrole;

For example:

id   |          name
-------+------------------------
 10000 | Users
 10001 | Developers
 10002 | Administrators
 10100 | Service Desk Customers
 10101 | Service Desk Team

I hope this helps!

Mark Gordon Nov 18, 2014

Matheus, thanks. the next question would be what if you setup another instance of JIRA - instance B. You want all of the configutations from Instance A copied to Instance B. Do the project roles get a new number?

Matheus Fernandes Atlassian Team Nov 18, 2014

That depends on what you mean by 'copied to Instance B'. If you're planning on copying the instances using a database backup or an XML backup (JIRA's native backup utility), the IDs will remain the same. If you'll simply recreate the same thing on the new instance, the IDs will be different (except for the Users, Developers and Administrators roles, which are default).

Mark Gordon Nov 18, 2014

Matheus, I have answer it. Thanks.

Mark Gordon Nov 18, 2014

Mathus, sorry, you have answere it. thanks.

Matheus Fernandes Atlassian Team Nov 18, 2014

Anytime! :)

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

1,256 views 2 13
Read article

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