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"/> </JiraJelly>
The error returned.
Jelly script ran and produced the following messages. <JiraJelly xmlns:jira='jelly:com.atlassian.jira.jelly.enterprise.JiraTagLib'> <Error action='AddPermission'> <TagContents>(AddPermission(projectroleid=10000)(permissions=[Ljava.lang.String;@16bf6d6)(projectrole=10000)(schemeId=10160)(type=projectrole)(group=))</TagContents> <ExecutedAs>user=dthompson</ExecutedAs> <ErrorMessage> Result=input Permission with key &apos;12&apos; doesn&apos;t exist. </ErrorMessage> </Error> </JiraJelly>
I have tried different types of permissions "Close" "Move" etc but same error returned.
What is the problem with the permissions?
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
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
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!
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