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

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.

0 vote
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.

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

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
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

221 views 1 18
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