Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,460,451
Community Members
 
Community Events
176
Community Groups

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

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

0 votes

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.

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 Community Leader Jul 04, 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.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events