How can I prevent logging work time on a closed JIRA issue?

How can I prevent, or at least give a warning about, logging work time on a closed JIRA issue?

4 answers

You can edit the status propriety "Closed".

(https://confluence.atlassian.com/display/JIRA/Workflow+properties)

Add the following propriety:  jira.permission.work    --> value: false

 

Best Simple Solution I have seen.  Great Help, Thanks!

I tried the answer Philippe suggested and it didn't work in my Cloud instance. Get a crazy error.

I manage this differently. I have set user permissions on "Resolve Issues" to project managers only. Setting this permission restricts others from closing or reopening issues. This manages the time entry issue because a user can only edit Time on an issue if they reopen a closed issue. Restricting the Re-Open to only Project Mangers restricts users abilities to add time after the issue is closed. If you have a process were team members can close issues on their own this solution may not work for you.  

Oh sorry about that, didn't saw the cloud tag.

I'm using JIRA Cloud too and don't have a solution to this yet. I don't follow Tom's solution - is he saying that restricting who can close an issue will stop work being logged when closed?

 

We have just two statuses - open and closed. How do I stop work being logged when an issue is closed?

Hi Brendan. 

Here is the premise I'm working with. Users can't edit their time against an issue that is closed. 

My approach is to restrict who can re-open a closed issue because the issue at hand is "How can I prevent logging work time on a closed JIRA issue?" In order for a user to add more time to a closed issue they need to first re-open an issue and then enter the time. I just restrict the ability to re-open tickets to Project Managers. 

This is done by going into your Permisssion Scheme and changing the "Resolve Issues" Project Permission to include only the people you want to be able to "resolve" or "reopen" and issue. 

This could be problematic if you have allowed everyone to resolve an issue. Just remember that "resolving" and closing are two different functions. So, I would say, change your Resolve Issue permissions and see if that fixes your issue. It sounds like you are not using "resolve" in your workflow so it is going to be OK.  

Thanks for responding so quickly Tom. The problem I am seeing is that the people can log time against an issue *while it's closed*. It is for a custom workflow another admin created with just two states (open and closed) - I think this might be the root of the problem: It doesn't happen on the default workflows I have.

Found it - the closed status didn't have the 'jira.issue.editable' property, I've now added it and set it to false.

how do you add a property to a status? im on the cloud version of jira 1.0.3-AC and tempo 1.1.47-AC

You can find this here - it's an attribute of the status edited in the workflow.

 

https://confluence.atlassian.com/jirakb/how-do-i-edit-closed-issues-779160787.html

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,758 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot