The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How can I prevent the particular field to be edit on a resolved or closed issue?

Ruhi Tanwar
June 30, 2021

I want to put restrictions on particular fields. On resolved and closed tickets, no one can edit those fields. means If the ticket status is resolved or closed, then that particular field (default field, which provided by Atlassian) will not be available or editable.

I want the "Time Spent" field in the "Time Tracking" section on a closed or resolved ticket should not to be editable.

I know that some fields are not editable if those fields are removed from "Edit Screen", but this is the default field and I need help.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Nic Brough -Adaptavist-
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 Champions.
June 30, 2021

So for most fields, the answer is "you cannot do this" - you can make an issue editable or not with properties on the workflow status, but it's the whole issue - all the fields or none.

However, you are looking at the time-tracking, which is not an issue field, and it does have permissions.  

So https://support.atlassian.com/jira-cloud-administration/docs/use-workflow-properties/ covers the general principle you need here - if you put workflow properties on to your resolved and closed status, you can change the permissions when the issues reach that point.  And time-tracking has its own permissions.

Breifly though, if you put on a property like this:

jira.permission.work.group=jira-administrators 

means that only Jira administrators can log work when an issue is in this status (log work is a part of the time-tracking functionality, as is "time spent", so this should stop all changes to the time-tracking stuff).

I've emphasised the work there because that's the main variable - the docs cover other things you can change the permissions for, and you may want to look at how to kill off delete work log, edit work log and so-on.

Ruhi Tanwar
July 2, 2021

Hi Nic,

I tried this, but it is not working. I do not know why is this not stopping work, I put it on the property at the resolved status.

PP.PNG


Daniel Ebers
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 Champions.
July 4, 2021

grafik.png

@Ruhi Tanwarthere are "Transition Properties" and "Step Properties". It seems you have assigned the value to the wrong one :)

When clicking on a step in workflow diagram you can assign a property to a step - it should work then.

TAGS
AUG Leaders

Atlassian Community Events