Forums

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

Order of Conditions, Validators, and Post Functions execution during Transitions

Holloway Winfred
Contributor
January 18, 2021

What order are the Conditions, Validators, and Post Functions executed during Transitions?

What happens to this order when a Transition Screen is used between Statuses?  Is it the same order?  Are the conditions and validators executed after the transition screen is dismissed?  

By its name, I'm guessing the Post Functions are executed last.  Is that a good guess?

1 answer

1 accepted

4 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 18, 2021

It's before, during, during, during, but as the last part.

Conditions run before the transition.  They're a simple yes/no check, and if the answer is "no", then the user can't even start the transition.

Screens happen next, as the transition is started, a box goes to the user to offer them the chance to enter data.

Validators are the next step, they check that data on the issue (including what may have just changed on the transition screen) is good to go

And, yes, very last, the post-functions happen, after everything has passed validation

Holloway Winfred
Contributor
January 18, 2021

Nic thank you (once again) for your response.  Very much appreciated.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events