Get All Issues
Jira, a product by Atlassian, offers bug tracking, issue tracking, and project management functions. This action lets you retrieve the list of all the issues created in your Jira account. To achieve this, add this action to your canvas, and configure it. Select the appropriate connection for Jira. If you haven’t created any connections, select ‘Add new’ to create one.
If you wish to retrieve all the issues, leave all the fields blank. To retrieve issues that match your query, you can enter a JQL query in the ‘JQL query string’ field. A simple query in JQL (also known as a 'clause') consists of a field, followed by an operator, followed by one or more values or functions. For example, the simple query will find all issues in the 'TEST' project is project = 'Test'. JQL gives you some SQL-like syntax, such as the ORDER BY SQL keyword and ISNULL() SQL function (i.e. the NULL keyword in JQL). However, JQL is not a database query language. For example, JQL does not have a SELECT statement.
You can specify a starting index for the response in the ‘Start At’ field. To set a limit to the maximum number of results to be returned, enter value in ‘Maximum Result’. If you set ‘Validate JQL Query’ to true, then it validate with perfect JQL query and throws error if it doesn't match. The action also allows you to specify the fields (separated by values) that you wish to be returned in issue details.
Once you enter these details, click on ‘Done’ and run the flow. This will return all the issues, or the ones that match your specified criteria, from your Jira account.
Once you have entered all the details, 'Save' them and click on 'Done'. This will take you back to canvas.
Output:
-
Get All Issues
-
expand string
-
startAt string
-
maxResults string
-
total number
-
issues array
expand string
id number
self string
key string
fields object
-