My teammate and I are bashing our heads against the wall trying to write this query to compare a custom field value in one issue, against the same in a target issue, and then link the issues based on that. We keep getting an error that acts like we are stating that the custom field name = the custom field value, or is acting like we don't have access to that field's data (even though it's returning it.)
Here's our query:
summary ~ "Month End Review" AND status = "Provisional" AND "{{issue.Client.value}}" ~ "{{triggerIssue.Client.value}}"
Here's the error, with sensitive info replaced where necessary:
Unable to find any related issues:
PROJ-7218: "((summary ~ "Month End Review" AND status = "Provisional" AND "Client Name Value Replaced" = "Client Name Value Replaced") AND (key != PROJ-7218)) AND (project in (99999))" - Field 'Client Name Value Replaced' does not exist or you do not have permission to view it.
For added info, I am a global Jira admin for our org, and teammate is admin for the project, we both receive the same error with our automations.