I have made a new jira plugin which has some links enabled based on the following condition specified in atlassian-plugin.xml
<conditionclass="com.atlassian.jira.plugin.webfragment.conditions.JiraGlobalPermissionCondition">
<paramname="permission"><u>admin</u></param>
</condition>
But the problem here is that all the project leads need to be provided with the Admin access in JIRA.
Is there a way where i can modify the above condition and use the project role instead.
Currently following project roles are defined in projectrole table.
| 10000 |
Users |
A project role that represents users in a project |
| 10001 |
Developers |
A project role that represents developers in a project |
| 10002 |
Administrators |
A project role that represents administrators in a project |
| 10100 |
leads |
One who has previlege to create,modify and delete |
| 10200 |
RCCL Scrum Master |
RCCL Scrum Master |
| 10300 |
Eventing Shift Leads |
Eventing team resource who come in shifts and support, attend incidents, etc |
how can i use this information and enable the link only for role 10100 i.e leads.
regards
Tarun Arora