Dear everyone,
I want to make sure that my cascading list field "Agile Release Train/Team" is not empty during a workflow transition.
When I add the validator "Fields Required (JSU)", Jira only checks the first level (parent) of the field, allowing the children keep being empty.
Therefore, I want to test whether a Regular Expression Check (JSU) works. What value do I need to enter into the field "Regular expression" to check that the user gets an error if the parent has a valid value, however, child = none?
This should be possible. I found an old KB article from JSU (before Appfire bought them).
Please see the article here. I think should solve your issue,
Thank you for this link, Marc.
Unfortunately, we failed benefiting from it. My level 1 value is "ART1", and the two level 2 fields are "Team1" and "Team2". We tried everything like (ART1|((Team1|Team2), .+?)), however, did not get it working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would reach out to Appfire the vendor and raise an issue at their end to see if and how this configuration is possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your advice, just created a request with appfire, Marc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I got the correct answer by appfire, which solved my case: Cascading List Field - How check that child is unequal to None? - Appfire Atlassian support - Jira Service Management.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm curious how you solved this issue, but I can't see the case you linked. Could you please copy/paste the answer here?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Would you be able to showcase the solution appfire provided here.
As you link is to your raised issue and even if I login to appfire support I can't see this, as you would need to share it with me.
This would help other users as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Marc, Giovanni,
Can you read the link I added to the Appfire Ticket on 20.11.2023? There you find the details.
Kind regards, Tilman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Tilman Ulshoefer, the issue is that we don't have access to the ticket you linked, it's only available to you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Giovanni Melai
Understood. This is what Appfire responded and what is working fine:
Expression 1: This expression will check if the child value contains None it will not allow the transition to move. It will allow the transition to move if the child field has any value =>(Default|val|), .+?
Expression 2: This expression will check if both(parent and child) values are None it will not allow to transition. If both values are present it will allow to move the transition => (.+?), .+?
Post Function:
1 Regular Expression Check (JSU)
2 Field to be checked: Select List Single choice
3 Regular expression: (.+?), .+?
4 Concatenate multiple values: true
5 Split on newline characters: false
6 Error message (optional): Need to through error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
``` When I add the validator "Fields Required (JSU)", Jira only checks the first level (parent) of the field, allowing the children keep being empty.```
Have you check the children issues is applied the same workflow like the parent issue ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is not about parent and child issues, trung. It is about parent and child values in a cascading list field, assigned to the same issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.