Jelly AddPermission script error


Following the Jelly Tags documentation, I'm trying to add a project role into a permission on a permission scheme.

I get an error back from the Jelly runner referencing the permission for the below jelly script.

<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.enterprise.JiraTagLib">
<jira:AddPermission schemeId="10160" permissions="Edit" type="projectrole" projectroleid="10000"/>

The error returned.

Jelly script ran and produced the following messages.

            <JiraJelly xmlns:jira='jelly:com.atlassian.jira.jelly.enterprise.JiraTagLib'>

  <Error action='AddPermission'>





Permission with key '12' doesn't exist.




I have tried different types of permissions "Close" "Move" etc but same error returned.

What is the problem with the permissions?



5 answers

0 votes
Pedro Cora Atlassian Team Jan 07, 2015

Hi David, what is the version of JIRA that you are running?

Hi Pedro, v6.3.6 Thanks.

We receive same error after update to 6.3.6. Before update same script was working fine.

Hi David,

did you receive any answer about your request? I´am wating since two weeks for a solution, I opened a ticket, which is still investigating at Atlassian support.



Hi Carsten, No I haven't found an answer for the problem. I will be testing an upgrade on our instance to a more recent v6 version to see if the problem goes away. I'll let you know how it goes and if you hear back from Atlassian with a cause and fix then please let me know too. Thanks, David

0 votes
Ruchi Tandon Atlassian Team Jan 29, 2015

It seems its a bug sad. I have created a bug report here : I would recommend you to add yourself to the watchlist on the bug report to receive further updates from our team on this issue. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,577 views 16 21
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you