Hello, before I raise a support ticket, can someone confirm that using two Cheklist conditions with OR (Any the following conditions) does not work ?
Example of settings :
First condition :
Second Condition :
Expected result: no display of the Ready transition
Result obtained: the Ready transition is displayed while no item of Definition of Ready is checked
Thank you in advance for your help
Hi Cyrille,
Developer from Checklist for Jira here.
The reason why it does not work in your situation is that there are no mandatory items in your checklist.
When there are no mandatory items at all, the "All mandatory items must be checked" condition will pass so users can move to the next workflow.
If you have ScriptRunner installed, you can use a scripted condition to achieve what you want. Here's an example of a validator (a condition's code is similar) from our documentation,.
Let me know if that helps and don't hesitate if there's anything else.
Kind regards,
Maxime
Hello Maxime, thanks for your answer, but we would have liked to avoid using groovy (via JMWE); The level of English is too high for me. I will wait for my colleagues to return from vacation. Indeed, when "All items in Definition of Ready must be checked" and "All mandatory items in Definition of Ready must be checked." are used alone, it works, but we have several use cases:
- the checklist is empty: the transition must be active;
- the checklist only contains optional items: the transition is only active if they are all checked;
- the checklist contains mandatory items (and optionally optional items): the transition is only active if all mandatory items are checked;
I thought that by using "Any of the following conditions" I could get the following behavior :
All items in Definition of Ready must be checked. | FALSE | TRUE | FALSE | TRUE |
All mandatory items in Definition of Ready must be checked. | FALSE | FALSE | TRUE | TRUE |
Ready transition is active | FALSE | TRUE | TRUE | TRUE |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Cyrille,
Unfortunately, I don't believe you can achieve what you need with "Any of the following conditions".
You will need to use Groovy scripts.
Kind regards,
Maxime
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.