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
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
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

157 views 0 5
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