-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Low
-
None
-
Affects Version/s: 6.3.12, 6.3.13
-
Component/s: Administration - Others
-
6.03
As per the Jelly documentation, we tried to run the simple script :
<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.JiraTagLib"> <jira:CreatePermissionScheme name="New Permission Scheme1"> <jira:AddPermission projectroleid="10000" permissions="Browse,Create,Comment,Attach" type="projectrole"/> </jira:CreatePermissionScheme> </JiraJelly>
Expected result : The permissions would be added to the project role.
Actual result : The outcome is the following error :
Jelly Runner
Jelly script ran and produced the following messages.
<JiraJelly xmlns:jira='jelly:com.atlassian.jira.jelly.JiraTagLib'>
<Error action='AddPermission'>
<TagContents>(AddPermission(projectrole=10000)(schemeId=10002)(permissions=[Ljava.lang.String;@21b9bb56)(projectroleid=10000)(group=)(type=projectrole))</TagContents>
<ExecutedAs>user=admin</ExecutedAs>
<ErrorMessage>
Result=input
Permission with key '10' doesn't exist.
Permission with key '11' doesn't exist.
Permission with key '15' doesn't exist.
Permission with key '19' doesn't exist.
</ErrorMessage>
</Error>
</JiraJelly>