JIRA JQL search function

The JIRA JQL search function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Jira connector function to search issues using JQL.

For a full list of available functions, please read JIRA functions.


Description

The JQL search function searches Jira issues using JQL (Jira Query Language) with auto-pagination. JQL supports filtering by project, status, assignee, labels, dates, custom fields, and more.


Setting it up

{{popups:rpas/add:action=jira-search}}

Once on a process map:

  1. Navigate to the process where you would like to add the function
  2. Click on the green button’s drop-down (right side of the green button labelled “Process”)
  3. On the menu that appears, click on the “+ Activity” item
  4. From here you can select the JIRA JQL search option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
ConnectorYesSelect-Select the Jira connector to use
JQLYesTextarea-JQL query (e.g. project = PROJ AND status = Open ORDER BY created DESC)
VariableYesText-Variable to store the search results

Output variables

VariableTypeDescription
VariableArrayArray of issue objects with key, fields (summary, status, assignee, etc.)

Errors

  • Invalid JQL – the JQL syntax is incorrect
  • Field not found – a field referenced in the JQL does not exist

Tips

  • Use variables in JQL: project = {project_key} AND assignee = {user_id}
  • Results are auto-paginated – all matching issues are returned
  • Access issue fields via {variable.0.fields.summary}, {variable.0.key}
  • Common JQL: project = PROJ AND status != Done AND updated >= -7d

Related functions

  • Get issue – Get full issue details by key
  • Create issue – Create a new issue
  • Transition issue – Change issue status

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.