JQL Support
Power Scripts for Jira Cloud can enhance your ability to search for issues using JQL. It allows you to perform powerful and unique searches, tailored to your specific needs.
However, it’s important to point out the difference between a traditional, server-hosted JQL function and a Cloud-hosted JQL keyword. In Cloud-based environments, everything is asynchronous. Jira and Power Scripts are hosted on different platforms, and they communicate using HTTPS calls.
Integration on Cloud is based on keywords, each of which encompasses specific search functionality. A JQL keyword is metadata for an issue that has been evaluated and saved in Jira prior to the JQL search, asynchronously.
By default, auto-synchronization of keywords is disabled. It is recommended to enable auto-synchronization if you want to harness the true power of this feature. Details can be found on the Keyword Syncing page.
Enabling auto-synchronization is not the only required step. For JQL searches to be accurate, you need to synchronize the collections or issues you want to query at least one time. You can complete the synchronization by adding projects and project categories for the entire Jira instance.
The synchronization process can take a long time, depending on the number of enabled JQL keywords and the number of issues.
What to synchronize
Power Scripts offers you either predefined keywords or custom ones. For optimal performance, only enable the ones you want to use.
The standard keywords can be enabled on a category basis. For example, you can’t control individual keywords; instead, you need to enable the entire category.
For a complete list of standard predefined JQL keywords, refer to the Standard JQL keywords page.
Custom keywords are synchronized only if you enable them from their tab.