Search for Issues with or without CRM Transactions

We can find issues with or without CRM transactions using next JQL query:

 issuetype = Sale AND status = Delivering AND id not in transactionsIssues()
CODE

Search for Issues with Thansactions by Conditions

Use JQL id in TransactionsConditionalIssues("condition") for example:

id in TransactionsConditionalIssues("Status = plan AND Sum <= 5 000 AND Direction = expense")
CODE

As conditions you can use Transactions Attributes pared vith operator:

AttributeOperator
Status=
Sum=,>,<, >=, <=
Direction=
Reporter=
Description~