I am looking for a way to restrict edit button for a certain status to component lead. I tried something like jira.permission.edit.lead = component-name under properties of a workflow status.
but it is not working. Can someone help on how this can be achieved.
Hi @Vineela Durbha Components Lead is only one user for each Components, right. In this scenario it's better to use " jira.permission.edit.user = your_user "
More specifically, you can set the following property on each status:
jira.permission.edit.group = your_usergroup OR
jira.permission.edit.role = your_userrole OR
jira.permission.edit.user = your_user
Or create a group of Components Leads and use :- jira.permission.edit.group = your_usergroup
@Vineela Durbha Unfortunately, There is no permission type for Components Lead.
jira.permission.edit.lead --- This is for Project Lead.
If you have Script Runner plugin, you can set behaviour on workflow or having Power Script plugin then use solution suggested by @Fabian Lim .
You can apply condition on this transition and put field on transition screen. So that only Lead can move status and fill data in field or edit issue.
Basically you would need s a script that identifies that the ticket is in status = closed and then hide it for certain users and groups.
In our organization we use it to hide the Edit button when a ticket is in "closed status" or show only the "edit button" to certain groups at a specific status.
Cprime provides great support and would help you if your are stuck.
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