Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Time Spent required on Transition

I want to check if the user has logged work against a sub-task when the task is closed. I added a workflow validator, to check time spent. The problem is it always gives a required field error even when I log time against the task. Any thoughts on how to make this work without using any plugins?



4 answers

1 accepted

1 vote
Answer accepted

I was able to fix by adding a groovy script to the validator and check for timespent. 



Fazila Ashraf Community Leader Nov 25, 2018


0 votes
Fazila Ashraf Community Leader Nov 24, 2018

Hi @Nagendra Dattatreya

Validators are checked on the transition screen.

What you have to add is a condition in the workflow transition. Make it that time spent is not empty as the condition. And the transition will be shown only if an effort is logged. Otherwise it will be hidden

Thanks Fazila! This works, the only thing is there is no message to the user that time spent is required. With validators, it gives a message to the user that the field is required. Is there something similar?

I've set up the same transition as @Nagendra Dattatreya ; However I'm always getting the failure even if time was logged prior to moving the issue to the next status. Does anyone have a solution for that which doesn't require writing groovy script to work around (what appears to be a bug)?

Try to use the Conditional Field Required Validator (just leave the condition empty). It worked for me.

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you