Using Salesforce Properties in JQL

Fields corresponding to Salesforce objects associated with Jira Issues can be configured for use in JQL. 

For example: Searching for Issues related to a Case Number, or Issues related to Cases with Status = 'Closed'

Salesforce Properties of objects related to Jira Issue can be added to Jira index for use in JQL

To select Salesforce properties for indexing for use in JQL, select the properties via Apps→JQL Settings (under zAgileConnect)

Once reindexing is completed, the fields may be used in JQL (Advanced Search)

Searching for Issues with related Cases

In Jira Cloud, to search for issues that have at least one related Case we can use the following JQL query.[relatedSalesforceEntities].total>0