JIRA - Block Time Tracking if a Custom Field is Empty

Disclaimer: I'm new to administering JIRA - It was jsut added to my workload last week.

I am trying to find any specific documentation on how to completely block time tracking on any JIRA ticket that does not have a value in a specific field.  I've found similar items via a few Google searches, but nothing that helps so far.

I have a custom field on all projects in JIRA.  If that field is empty, I want to block anyone from tracking time against the project.  Does anyone have any insight into this, or where specifically to start looking?

Not sure if it helps or matters, but we are using JIRA 7.3.1 on prem.

1 answer

1 votes

I can't think of a way to do this without hacking core code in JIRA.  You can set permissions to block the entry of work-logs, and because of that, you can do it on status with workflow properties, and you can do things in transitions, but I can't think of a way to do it based on custom fields.

Thanks.  Was hoping here would be a way to script it or something, so that a validator of sorts could run on all projects when they load, or when someone tries to click the Log Work button.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

987 views 5 18
Read article

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