Hello,
I've an automation based on the following JQL:
project=HR and issuetype='employee' and {{issue.customfield_10205}}='Yes'
I need to filter the issues based on the {{issue.customfield_10205}} condition, it has only two values 'Yes' and 'No' I need to JQL making sure that if {{issue.customfield_10205}}='Yes' then the issues are properly filtered and other automation steps work.
Now it doesn't work. I think there is an issue with the syntax, any help is appreciated.
Thanks in advance!
Hi @Javanshir Mustafayev _ HIT
If you were to run that JQL stand-alone in advanced issue search, it would resolve to:
project=HR and issuetype='employee' and 'Yes'='Yes'
What you probably want in your rule is:
project=HR and issuetype='employee' and MyCustomFieldName = 'Yes'
Not the value from the field...
If I am missing what you are trying to do, please consider posting an image of your entire rule and an entry from the audit log where the rule executes. That may provide more context. Thanks!
Best regards,
Bill
@Bill Sheboy thank mate! this worked for me, I've entered my custom field name and the JQL recognises it and works with its values.
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.