Designing a form, where, due to it's criticality and being free text, we have asked the user to type an input twice
Ignoring the fact they can just copy n paste from one to the other, I was trying to find a way to compare the 2 fields and error if not the same
I have set up automation, based on create issue, but was hoping there would be a way to block submit until they match.
Have looked at workflow transition validators, but can't see a way to compare fields.
Any suggestions/ideas appreciated
Hi @Myles Boyd ,
My name is Sergio and I'm a member of the support team from Decadis.
As Marc already mentioned, this should be able to be done using Jira Workflow Toolbox for Jira Cloud.
You could use the validator suggested or also our validator Jira expression validator, were you should be able to compare both fields with an expression like the following one:
issue?.customfield_AAAAA== issue?.customfield_AAAA
You should replace AAAAA and BBBBB for the custom field codes you want to compare.
If you have any doubt related to our app, please feel free to contact us through our customer portal! We will gladly assist you with any doubt you have :)
Best regards,
Sergio
Hi @Myles Boyd
This could be done by the app Jira Workflow Toolbox.
They have a compare validator, see; https://apps.decadis.net/display/JWTCLOUD/Compare+two+values+validator#expand-Comparisonvalue
Your text fields in the form, will have to be linked to Jira custom fields. You can use from fields only.
Give it a try, I can't promise it will work.
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.