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

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

Setting validators for workflow transitions

Hi there

I'm trying to add a 'field required' validator for the time tracking field so that an issue doesn't transition to the next status if time tracking is empty, however it doesn't appear in the available fields.

I can only find the 'time spent' field so I added this as the required field. When testing, I went to time tracking and added time in the time spent field, but the error pops up to add time. Not sure what I am missing?

Also how do I add the 'time tracking' field to the available fields in the validators?


1 answer

1 accepted

0 votes
Answer accepted

Hi @Thembisa Ndlamlenze 

Try the following please by adding original estimate and time spent:

  • Edit your workflow
  • Add validator "Field Required"
  • Choose all the fields you want NOT to be empty during the transition
  • Click add
  • Click publish



This is just to see the transition overview. Don't forget to publish the workflow.

transtition overview.png


When I try to move the issue to in progress, I get the error message:


Thanks Alex

I followed all the above steps and left original est and time spent empty and the error message popped up, which is great but the error still shows when I populate these fields and wont allow me to transition to the next status

Are you populating both fields?

Hmm... then most likely you have to add a transition screen with the required field. I believe that this validator needs the fields to not be empty during the transition. Try adding a transition screen with this (these fields). Otherwise with the use of an app, like JMWE this could be done more easily.

That will do the trick. I can confirm this. However, it's not the best of ways :/

Add Time tracking field for original estimate, and log work field for logging the work.

What will do the trick, adding a transition screen or the app?

Unrelated - for some reason I can't add screenshots here

Both of them will do the trick. But I was referring to adding a transition screen with the required fields.

I feel like I'm so close yet far :)

I've created a transition screen, added time tracking field to it. The screen has original estimate, remaining estimate and comment fields, all of these are populated but I get an error 'please log the time spent on this issue'

Did you try to log time?

It works!! Changed time tracking field to log work field

Thanks so much Alex

Like Alex Koxaras likes this

Glad to know that, and I hope that this solution works out for you!

Kindly mark my answer as accepted to help others in the community! Thanx!

Like Thembisa Ndlamlenze likes this

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Confluence Cloud

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

169 views 2 8
Read article

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