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 vote

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 4 hours ago in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

16 views 0 3
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