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
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

101 views 3 4
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