Skip to main content

Search issues in Jira

Searches for issues in Jira using Jira Query Language (JQL).

JQL Documentation: https://support.atlassian.com/jira-service-management-cloud/docs/use-advanced-search-with-jira-query-language-jql/

This Wrk Action divides. For more information on divides please visit our article explaining Divides.

Application

  • Jira

Inputs (what you have)

NameDescriptionData TypeRequired?Example
Jira connected accountConnected AccountRequired
Jira site linkIf you use multiple Jira sites specify the site you would like to connect to. e.g. https://CompanyName.atlassian.neturlOptional
JQL queryJira query details. See Jira JQL documentation for details on how to configure this fieldText(Long)Yesproject = "MyProject"
Maximum number of resultsThe number of issues to retrieveIntegerNo50

Review the authentication methods requirements below.

Note: the value of inputs can either be a set value in the configuration of the Wrk Action within the Wrkflow, or a variable from the Data library section. These variables in the Data library section are the outputs of previous Wrk Actions in the Wrkflow.

Outputs (what you get)

NameDescriptionData TypeRequiredExample
Number of issues retrievedThe total number of issues returnedIntegerYes1
Jira issue linkLink to the Jira issueURLYeshttps://your-domain.atlassian.net/browse/PROJ-123

Outcomes

NameDescription
SuccessThis status is selected in the event the Wrk Action successfully returns at least one Jira issue
No ResultThis status is selected in the event of the following scenarios:Unable to find any issues with the provided query
Impossible To CompleteThis status is selected in the event of the following scenarios:Query is not valid JQL

Requirements

Authentication Method(s)

Connected Accounts will need to use the provided access token in order to find out the “cloudid” of the Jira site our user is connecting from. This will be used as part of all Jira API calls.

Inputs

TitleData TypeRequired/OptionalDescription
Jira connected accountConnected AccountRequired
Jira site linkurlOptionalIf you use multiple Jira sites specify the site you would like to connect to. e.g. https://CompanyName.atlassian.net