Way to prevent logging hours on single issue

Is there a way to prevent someone from logging time on an issue if either the issue is closed, or if the time would exceed the remaining estimated hours?

4 answers

1 accepted

you can prevent to enter work log if the issue is closed by using workflow properties,

try with this by adding on closed state properties

jira.permission.worklog=denied

check this for more infomation

http://www.j-tricks.com/1/post/2011/02/permissions-based-on-workflow-status.html

OK, that seems to work in JIRA, in that the JIRA Log Time dialog is disabled. BUT, I have the Tempo add-on installed, and it doesn't seem to honor the property.

Also, there was a second part to the question: Is there any way to limit the number of hours entered to what the remaining hours?

OK, once you make an issue not-editable in JIRA, you need to also tell tempo it can't edit those issues either. Go to Administration-> Add-ons->Tempo (on the left side bar)->Global Configuration. Then uncheck the "Allow logging on not editable issues" checkbox.

Also, there was a second part to the question: Is there any way to limit the number of hours entered to what the remaining hours?

I am also interested in this feature. I would appritiate if someone can point where to look.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

239 views 1 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