Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,774
Community Members
 
Community Events
168
Community Groups

Allow to Edit for a Reporter for a limited time after the Issue is created

Good day,

Is it possible somehow to give the Reporter the possibility to edit the created Issue but only for a limited time after the creation time (after the issue is posted)? 

Example:

Reporter created an Issue. But then he/she wants to Edit it. He/She should have been granted with the possibility to edit the issue, but for a limited time, for example, up to 1 hour after the issue was posted. And after one hour the Reporter should already not be able to edit the issue anymore. 

So to limit the time the issue is editable for a Reporter (or for any other role also).

3 answers

1 accepted

1 vote
Answer accepted
Andy Heinzer Atlassian Team Jan 30, 2019

It's not possible to do this exactly as you have stated with Jira natively.  

That said, you could give the reporter permissions on a project level to edit their own issue, and then later you can restrict them from making changes to the issue when it exists in different statuses.  This can be done with Workflow Properties.    Specifically, I was able to do this by going into the workflow in question, edit that workflow, click on the status in question, and select Properties.  From here you can add a property such as

jira.permission.edit.group = jira-administrators

(that format would look like this in the workflow properties page:)

wfprop2.png

Adding this property, and then publishing the workflow would prevent any user that was not in that specific group from editing the issue when it was in that specific status of that workflow;  even if they actually do have the permissions to do that in the project.

 

I tried to do this by using the reporter role instead of a specific group name, but it did not seem to work for me.   At least in this way of restricting by group, the reporter could edit the issue at least until the issue is first transitioned.  You would need to add this property to the other statuses in the workflow (except for the first status after the issue is created).   Also if your workflow permits the user to transition the issue back to that initial state, they could get past this limitation by doing that first.

0 votes

Hi,

You can do this only with Scriptrunner

0 votes

Hi @Anatoli Makejev,

you can't do this out of the box. The only way I see is a custom development or a script.

Suggest an answer

Log in or Sign up to answer