Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Validator error even though field has been entered.

Dylan Riley May 18, 2018

I have a validator on a transition. That validator is supposed to check for the field 'TimeLogged'. I have entered a vlue into the time logged but I still get the validator error and cannot continue.

1 answer

1 accepted

1 vote
Answer accepted
Jack Brickey
Community Champion
May 18, 2018

can u share screenshot of your validator? at what point in the process did the time get logged?

Dylan Riley May 18, 2018

The time was logged earlier in the workflow, maybe that's the issue. But I did log work at the time of the transition to see if it would fix this issue and it didn't.

workflow:

workflow01.png
validator:

validator01.pngThanks!

Dylan Riley May 18, 2018

Also, I don't necessarily need the time logged to be filled out during the transition, just need it filled out before the 'development complete' button can be pressed. Maybe I'm going about it the wrong way?

Jack Brickey
Community Champion
May 18, 2018

understood. the current validator requires that the user log time when transitioning. For this to work you need to have the transition screen actually present 'log time'. 

I think what you want is to ensure that time spent is not empty if the user transitions?

If so try the following on the transition:

  • Use Condition
  • select "Value field"
  • select time spent and set to not equal 0

or something similar

Dylan Riley May 18, 2018

Awesome, that's it! Thank you so much!
But say I did want the time spent screen to pop up on transition, how do you do that?

Thanks again!

Jack Brickey
Community Champion
May 18, 2018

Basically you can build a new screen or edit the one that is currently being used (but avoid this is you are sharing the screen w/ other projects). Then edit the WF, double-click the transition and assign the screen to that transition. This will ensure that the screen pops up w/ the desired fields and you can make those fields required for that screen. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events