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 votes
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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,450 views 15 19
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