Search issues in Jira
Wrk Product avatar
Written by Wrk Product
Updated over a week ago

Searches for issues in Jira using 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)

Name

Description

Data Type

Required?

Example

Jira connected account

Connected Account

Required

Jira site link

If you use multiple Jira sites specify the site you would like to connect to. e.g. https://CompanyName.atlassian.net

url

Optional

JQL query

Jira query details. See Jira JQL documentation for details on how to configure this field

Text(Long)

Yes

project = "MyProject"

Maximum number of results

The number of issues to retrieve

Integer

No

50

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)

Name

Description

Data Type

Required

Example

Number of issues retrieved

The total number of issues returned

Integer

Yes

1

Jira issue link

Link to the Jira issue

URL

Yes

https://your-domain.atlassian.net/browse/PROJ-123

Outcomes

Name

Description

Success

This status is selected in the event the Wrk Action successfully returns at least one Jira issue

No Result

This status is selected in the event of the following scenarios:

  • Unable to find any issues with the provided query

Impossible To Complete

This 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

Title

Data Type

Required/Optional

Description

Jira connected account

Connected Account

Required

Jira site link

url

Optional

If you use multiple Jira sites specify the site you would like to connect to. e.g. https://CompanyName.atlassian.net

Did this answer your question?