Forums

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

Lock a field in Done state in Jira cloud

Sruthi October 5, 2021

HI All,

In cloud Jira I have a use case where I need to disable the editing of one date field in Done state .Please let me know your suggestions

2 answers

1 accepted

2 votes
Answer accepted
John Funk
Community Champion
October 5, 2021

Hi @Sruthi  - Welcome to the Atlassian Community!

You cannot control a single field in a single status. You can control who can update the field for all statuses, but not for a single status. 

Sruthi October 5, 2021

Thanks @John Funk 

Like John Funk likes this
Sruthi October 6, 2021

One more question,

We have field called End time in Epic, so is it possible to restrict updating the log time when this end time is already crossed.  ie., if end time is over users should not log their time in Epic and any of its task.

Can we achive this through any script runner script?

please help here

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 Leaders.
October 6, 2021

You can remove the permission to log work when an issue is in a particular status in the workflow.  It's done with workflow properties which you put on a status and do things like "permission: log work - denied"

This only applies to the current issue though.  You can't do "stop logging work on all issues in an Epic" directly, the closest you can get is to script something that would push all the issues in an Epic to a status with that workflow property set.  (This probably isn't a good idea though, you shouldn't really have an Epic close stop all work on the issues automatically, it should really be the other way around  - when the last issue in it closes, then it becomes ok to say the Epic is done)  

0 votes
Sruthi October 8, 2021

@Nic Brough -Adaptavist- 

Forget about the status,

I need to know whether we can stop editing the log work to any task once the End time(Custom field) in parent Epic issuetype is over.

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 Leaders.
October 8, 2021

The only way to change the permissions on an issue is by status, you can't do it based on field content.

Suggest an answer

Log in or Sign up to answer