Jira
Comprehensive guide to using the Jira node in StackAI workflows, including top actions, input requirements, configurations, and output details.
What is Jira?
Jira is a powerful project management tool designed for issue and ticket tracking. The Jira node in StackAI allows you to automate the creation of Jira issues directly from your workflow, streamlining project management and team collaboration.
Establishing A Connection
Click 'Create Connection' and give it a name you’ll recognize later (e.g., Sam's Connection).
You’ll be redirected to the Atlassian website — sign in using your existing Jira account.
Accept the requested permissions.
Once redirected back to StackAI, open the dropdown menu under 'Select Connection' and select your newly created connection.
Click the 'Test' button to verify the connection status is Healthy.
Action Summary Table
Create Issue
Automatically create a new issue (ticket) in your Jira project.
Project ID, Issue Type ID, Summary, Description, Assignee ID, Parent Key, Priority ID, Labels, Due Date, Component, Custom Fields
Issue Key, Issue ID, Issue URL, Summary, Status, Message
Add Issue Attachment
Add one or more file attachments to a Jira issue
Jira Issue ID or Key, File Path
Issue ID or Key, Issue, Message
Add Issue Comment
Add a comment to an existing Jira issue.
Issue ID, Comment Text
Jira Comment ID, Jira Issue URL, Message
Link Jira Issues
Create a link between two Jira issues with an optional comment
Outward Issue Id Or Key, Inward Issue Id Or Key, Link Type, Comment Text
Outward Jira Issue, Inward Jira Issue, Jira Link Type, Operation Message
Get Issue
Retrieve details of a specific Jira issue.
Issue ID or Key, Fields, Expand, Update History, Custom Field IDs, Include All Custom Fields
Issue ID or Key, Issue
Get Issue Comments
Retrieve comments for a Jira issue
Jira Issue ID or Key, Start At, Max Results, Order By, Expand
Issue ID or Key, Comments
Get Project
Get a specific Jira project by its ID or key
Project ID or Key, Expand
Project ID, Project Key, Project Name, Project Category, Project Description, Project Lead, Project Issue Types, Project URL, Project Keys
List Projects
Retrieve a list of all Jira projects accessible to your account.
Start At, Max Results, Order By, Query, Type Key, Status, Expand
Total Projects, Start At, Max Results, Is Last, Projects
Update Issue
Modify details of an existing Jira issue.
Issue ID or Key, Summary, Description, Labels Add, Labels Remove, Assignee, Priority, Custom Fields, Notify Users, Return Issue
Issue ID, Issue, Message
Input Breakdowns
Assignee (ID) (string)
Description: Account ID of the user to assign the issue to. Use null or an empty string to unassign.
Where to find it: In Jira Cloud, the Account ID is a unique identifier for each user. You can usually find it by:
Going to the user's profile in Jira (the URL will contain the accountId parameter).
Using the Jira API to list users, which will return their accountId.
Sometimes, when assigning users in the Jira UI, you can inspect the network requests to see the accountId.
Example:
5b10a2844c20165700ede21g
Comment Text (string)
Description: The text content of the comment that will be added to the Jira issue.
Example:
Linking this issue to track its dependency on the target issue
Component (IDs) (string)
Description: Components are sub-sections or parts of a Jira project. They are used to group issues within a project into smaller parts, such as features, teams, modules, or functional areas. Each component has a unique component ID within the project.
Where to find it: In the Jira UI
Go to your Jira project.
In the left sidebar, look for "Project settings" (or "Settings").
Click on "Components."
Here, you will see a list of all components for the project, along with their names and IDs (the ID is often visible in the URL when you click on a component, or you can get it via the API).
Example:
["10001", "10003"]
Custom Field IDs (string)
Description: A comma-separated list of specific custom field IDs to extract from the Jira issue. Only these fields will be included in the custom_fields response.
Where to find it: You can find custom field IDs in your Jira instance by navigating to Jira Administration > Issues > Custom Fields. The field ID is usually shown in the URL when you edit a custom field (e.g., .../customfields/customfield_12345). You can also use the Jira REST API to list all custom fields and their IDs.
Example:
customfield_18165, customfield_12345
Custom Fields (string)
Description: A JSON object containing custom field key-value pairs i.e. additional fields that your organization has configured to capture information beyond the standard fields (like summary, description, priority, etc.). These fields can be of various types (text, number, date, dropdown, user picker, etc.) and are used to tailor Jira issues to your team's specific needs.
Example:
"custom_fields": { "customfield_10010": "Affects all users in Europe", "customfield_10011": "High" }
Description (string)
Description: A detailed description of the issue (supports Atlassian Document Format)
Example:
Steps to reproduce the bug: 1. Log in to the app. 2. Click on the dashboard. 3. Observe the error message. Expected: Dashboard loads successfully. Actual: Error 500 is shown.
Due Date (string)
Description: Allows you to specify the deadline for the issue in the format YYYY-MM-DD. This field is optional—if provided, it sets when the issue should be completed; if left blank, no due date will be assigned.
Example:
2025-08-15
Expand (string)
Description: The expand parameter allows you to request additional information in the response.
Example:
renderedBody
Fields (string)
Description: The fields parameter lets you specify which fields to include in the response when retrieving a Jira issue. You can use it to limit the output to only the fields you care about (like summary, status, or custom fields), or use special keywords to include all or only navigable fields.
Where to find it: You can find details about the fields parameter in the Jira Cloud REST API documentation for "Get issue" by searching for "fields parameter Jira API".
Example:
summary,comment
File Path (string)
Description: The file path parameter specifies the location of the file you want to attach to a Jira issue. It must be a valid path to the file on your system or accessible storage.
Where to find it: You can find details about this parameter in the Jira Cloud REST API documentation for adding attachments or by searching for "Jira API add attachment file path".
Example:
/Users/alex/Documents/screenshot.png
Include All Custom Fields (boolean)
Description: Whether to include all custom fields for exploration (WARNING: creates very long output).
Inward Issue Id Or Key (string)
Description: This parameter specifies the ID or key of the target (inward) Jira issue that you want to link to. It identifies the issue that will be on the receiving end of the link relationship.
Where to find it: You can find the issue key or ID in the Jira issue’s URL or at the top of the issue page. For more details, search for "Jira issue key" or see Atlassian’s documentation on Finding an issue key in Jira.
Example:
PROJ-123
,10002
Issue ID (string)
Description: The Issue Id parameter specifies the unique identifier of the Jira issue where you want to add a comment. This is required to ensure the comment is attached to the correct issue.
Where to find it: You can find the Issue Id in the Jira issue’s URL (e.g., the part like "PROJ-123" in https://yourcompany.atlassian.net/browse/PROJ-123) or at the top of the issue page. It is also sometimes referred to as the "issue key."
Example:
PROJ-123
Issue Type ID (string)
Description: Specifies what kind of issue you are creating in Jira. Common issue types include "Bug", "Task", "Story", "Epic", etc. Each type has its own workflow, fields, and purpose within your Jira project.
Where to Find It:
Jira Web Interface:
Go to your Jira project.
Click “Create” to open the new issue dialog.
In the “Issue Type” dropdown, you’ll see the available types (e.g., Bug, Task, Story).
Labels (Add/Remove) (string)
Description: Labels are keywords or tags you can attach to a Jira issue to help categorize, filter, and search for related issues. They are optional and can be used for custom organization or reporting.
Where to find it: In the Jira issue creation or edit screen, there is a "Labels" field where you can add one or more labels. You can also see existing labels on the issue view page, usually near the bottom or in the details section.
Example:
customer-request, backend, sprint-12
Link Type (string)
Description: Specifies the relationship between two Jira issues, such as whether one issue blocks another, duplicates it, or is simply related. This determines how the issues are visually and logically connected in Jira.
Where to find it: In Jira, when you manually link issues, you select the link type from a dropdown menu in the "Link" dialog (e.g., "Blocks", "Relates to", "Duplicate"). You can see available link types in your Jira instance by starting to link an issue or by asking your Jira admin for the configured link types.
Example:
Blocks
,Relates to
,Duplicate
Max Results (number)
Description: The "max results" parameter controls the maximum number of comments to return per request when retrieving comments for a Jira issue.
Example:
10
,50
Notify Users (boolean)
Description: Whether to send email notifications about the update.
Order By (string)
Description: The "Order By" parameter determines the sort order of the returned comments, such as by creation date in ascending or descending order.
Example:
created
- no sorting-created
- descending order by creation date+created
- ascending order by creation date
Outward Issue Id Or Key (string)
Description: This is the ID or key of the source Jira issue from which the link originates (the "outward" issue in the relationship). It identifies the issue that will be linked to another issue.
Where to find it: You can find the issue key or ID in the Jira web interface—it's usually displayed at the top of the issue page (e.g., "PROJ-123"). You can also copy it from the issue's URL or from search results in Jira.
Example:
PROJ-123
Parent Key (string)
Description: specify the key of a parent issue when you are creating a subtask in Jira.
It links the new subtask to an existing parent issue (like a Story, Task, or Bug).
For regular issues (not subtasks), you should leave this field blank.
Example:
ENG-456
Priority (ID) (string)
Description: used to set the priority level of the Jira issue you are creating (such as "High", "Medium", "Low", etc.). The value must be the ID of the priority, not its name or label.
Where to find the priority ID:
In Jira, go to Issues → Priorities (admin section).
Each priority (like "High", "Medium", "Low") has a unique ID (e.g., "1", "2", "3", or sometimes a UUID).
You can also get the priority ID using the Jira API or by inspecting the page URL when editing a priority.
Example:
1
Project ID (string)
Description: A unique identifier for a Jira project.
Where to Find It:
Jira Web Interface:
Go to your Jira dashboard.
Click on "Projects" in the top menu and select your project.
The project key is usually shown in the project’s URL and in the project header (e.g., "ABC" in "ABC-123").
The project id (a numeric value) is not always visible in the UI, but the project key (a short code like "ABC") is commonly used and accepted in most API calls and integrations.
Jira URL Example:
If your project’s issues look like:
https://yourcompany.atlassian.net/browse/ABC-123
Then "ABC" is the project key.
Status (string)
Description: The status input parameter allows you to filter Jira projects by their status. You can specify one or more statuses (comma-separated) such as live, archived, or deleted (for projects in the recycle bin). By default, only live projects are returned.
Example: To list only archived projects, set status to
archived
.
Type Key (string)
Description: The "type key" parameter lets you filter Jira projects by their type. You can specify one or more types (comma-separated), such as business, service_desk, or software, to only return projects of those types.
Example: To list only software projects
software
.
Query (string)
Description: The query parameter allows you to filter Jira projects by a search string. It returns projects whose key or name matches the provided text (case insensitive), making it easy to find specific projects by name or key.
Example: To find all projects with "marketing" in their name or key, set query to
marketing
.
Return Issue (boolean)
Description: Whether to return the full updated issue in the response.
Start At (number)
Description: The index of the first comment to return (pagination).
Example:
10
Summary (string)
Description: A concise summary or title for the Jira issue
Example:
Add dark mode support to dashboard
Update History (boolean)
Description: Whether to update the user's recently viewed project list.
Best Practices:
Always use the correct connection ID for your Jira account.
Ensure required fields are provided for each action.
Use outputs to connect Jira actions to downstream workflow nodes for further automation.
Advanced Settings
Retry on Failure: Enable retrying when the node execution fails
Fallback Branch: Create a separate branch that executes when this node fails, allowing you to handle errors gracefullyCreate a separate branch that executes when this node fails, allowing you to handle errors gracefully
Last updated
Was this helpful?