How to validate Log Work on Click of Log Button

Hi,

I would like to validate the field Time Spent when I click on Log button click event in Log Work screen.

Using JIRA 6.2.3

--- Added on 22nd April

 would like to validate the Time Spent duration.

Ex. 1. Log Work Time Spent per day should not go beyond 24hrs

      2. User should not log Time Spent for Future days.

 

These are the things most common mistakes done by Engineers while filling Work Log.

I would like to control by using Validate Add-on(s).

3 answers

This widget could not be displayed.

Add 'Time Tracking' field to your screens and add a 'Field Rquired' validator in the workflow transition for 'timespent' field.

The validator is available via the JIRA Suite utilities plugin!

Hi Aleks,

The option you provided will check only whether Time Spent is filled or not.

I would like to validate the Time Spent duration.

Ex. 1. Log Work Time Spent per day should not go beyond 24hrs

      2. User should not log Time Spent for Future days.

 

These are the things most common mistakes done by Engineers while filling Work Log.

I would like to control by using Validate Add-on(s).

 

Thanks and Regards,

Sivaram.

This widget could not be displayed.
Steven Behnke Community Champion Apr 21, 2016

Could you list what add-ons you would like to use to accomplish this? For instance if you are already a heavy user of Misc Custom Fields or Groovy Script Runner, you could say so and approach that team.

This widget could not be displayed.

override the com.atlassian.jira.web.action.issue.CreateWorklog

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

176 views 1 3
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