Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I restrict editing an issue to assignee in certain workflow status

Marcin Kupisz January 9, 2024

Hi,
I'm trying to limit the ability to edit an issue to just the assignee while on particular workflow step.

I've seen this guide https://www.j-tricks.com/tutorials/permissions-based-on-workflow-status but it doesn't cover my use case.

 

What I would like to achieve is the following:
if a task is assigned to certain user on certain workflow step only this user is capable of editing the description field of that issue.

I've tried setting various combinations of jira.permission.edit.assignee, jira.permission.edit = assignee or jira.permission.edit.assignee = true in properties of the workflow step but failed miserably.

2 answers

1 accepted

3 votes
Answer accepted
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 9, 2024

Hi @Marcin Kupisz 

Please set the properties as follows on your status.

Screenshot 2024-01-09 at 12.22.04.png

This will limit editing the issue in the status in progress to the assignee only. If the issue is not assigned the edit action will not be saved.

Marcin Kupisz January 9, 2024

It worked :) Thanks!

Like Marc - Devoteam likes this
0 votes
Joe Pitt
Community Champion
January 9, 2024

Based on your link and what you need, I presume you're having a problem with the 'certain user' part of your requirement. If so, you will need a script. I caution you on having ANYTHING limited to a particular user. Eventually it will need to be modified when that user leaves, goes on leave, or is replaced.  A better option would be to restrict it to a particular role in the project which can easily be changed when needed. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events