Forums

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

We have some same condition and validator.

Arati vilas gavade
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 28, 2022

e.g permission condition and permission validator are there so how this both will work.both have same functionality I guess.

2 answers

1 accepted

2 votes
Answer accepted
Vamsi Kandala
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.
December 28, 2022
Arati vilas gavade
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 30, 2022

Yes it's clear but can you confirm how permission condition and permission validator work like which perform first.

Vamsi Kandala
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.
December 30, 2022

Hi @Arati vilas gavade,

Both work in tandem and depends on where you want to define them and your requirement.

Conditions are like before the event, Validators are during and before the event and Post Functions are after the event, i.e. transition of ticket.

Hope this helps.

Thanks,
Vamsi

0 votes
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.
December 30, 2022

No, they do not "work in tandem", and there's not really a way to sequence them either (neither "runs first", they run when needed).  They are very different things.

A condition is checked every time you view an issue (or try to bulk-edit it to do a transition).  If the condition is failed, then you do not get offered the option to trigger a transition, and you will not be able to start the transition.

A validator is run when you try to commit to doing a transition.

(and FWIW, a post-function runs after the validators say it's ok to perform the rest of the transition)

Suggest an answer

Log in or Sign up to answer