Jira V3
Use the Jira integration to manage issues, create Cortex XSOAR incidents from Jira projects, and mirror issues to existing issue incidents in Cortex XSOAR. The integration now supports both OnPrem, and Cloud instances.
Case Management · Atlassian Jira
Details
| ID | Jira V3 |
|---|---|
| Provider | Atlassian |
| Category | Case Management |
| From Version | 6.8.0 |
| Docker Image | demisto/btfl-soup:1.0.1.10120494 |
| Supported Modules | Agentix Cortex Cloud Cloud Runtime Security Cloud Posture Security XSIAM EDR |
README
Use the Jira integration to manage issues and create Cortex XSOAR incidents from Jira projects. From Cortex XSOAR version 6.0 and above, the integration also mirrors issues to existing issue incidents in Cortex XSOAR. The integration now supports both OnPrem, and Cloud instances.
This integration was integrated and tested with: Jira Cloud Platform V3 (for Cloud), Jira Software Cloud (for Cloud), Jira Server Platform 9.6.0 (for OnPrem), Jira Software Server 9.6.0 (for OnPrem).
Some changes have been made that might affect your existing content.
If you are upgrading from a previous version of this integration, see Breaking Changes.
Configure Atlassian Jira V3 on Cortex XSOAR
- Navigate to Settings > Integrations > Servers & Services.
- Search for Atlassian Jira V3.
- Authentication: Basic Authentication, Personal Access Token, and OAuth 2.0 are used for Jira Cloud and On-prem. Read the Authentication process in order to configure your instance
-
Click Add instance to create and configure a new integration instance.
Parameter Description Required Server URL The base URL. For a Cloud instance, use the default URL as configured. For an OnPrem instance, use your respective domain. True Cloud ID This field is used to configure the Jira Cloud. User name used only for basic authentication method False API key used only for basic authentication method False Callback URL used only for OAuth 2.0 method False Client ID used only for OAuth 2.0 method False Client Secret used only for OAuth 2.0 method False Personal Access Token used only for the Personal Access Token method False Query (in JQL) for fetching incidents The field that was selected in the “Issue Field to fetch by” can’t be used. in the query. False Issue Field to fetch by This is how the field (e.g, created date) is applied to the query: created >= {created date in last run} ORDER BY created ASC False Issue index to start fetching incidents from This parameter is dismissed if “id” is not chosen in “Issue Field to Fetch by”. This will only fetch Jira issues that are part of the same project as the issue that is configured in this parameter. If this value is 0, then the fetch mechanism will automatically start the fetch from the smallest ID with respect to the fetch query. False Trust any certificate (not secure) False Use system proxy settings False Fetch incidents False Incident type False Close Mirrored XSOAR Incident When selected, marking the Jira issue as resolved will be mirrored in Cortex XSOAR, and will close the corresponding incident. Please make sure the `Resolved` field in your Jira instance is configured in order for this to work properly, if not, it will rely on if the status of the issue is changed to `Done`. False Mirroring Direction False Attachment Entry Tag to Jira Add this tag to an entry to mirror it as an attachment to Jira. False Attachment Entry Tag from Jira Add this tag to an entry to mirror it as an attachment from Jira. False Comment Entry Tag to Jira Add this tag to an entry to mirror it as a comment in Jira. False Comment Entry Tag from Jira Add this tag to an entry to mirror it as a comment from Jira. False Fetch comments Fetch comments for a Jira ticket. False Fetch attachments Fetch attachments for a Jira ticket. False Max incidents per fetch The maximum allowed value is dictated by the Jira property ‘jira.search.views.default.max’. If you specify a value that is higher than this number, your search results will be truncated. Default value is 50. False Time range for initial data fetch The time range to consider for the initial data fetch in format: <number> <unit>. This parameter is only relevant when selecting to fetch by created time, or updated time. Default is 3 days. For example: 2 minutes, 2 hours, 2 days, 2 months, 2 years False - Check Authorization Flow In Cortex XSOAR in order to authenticate and test the connection.
Configure only one of the following fields:
- Cloud ID - Used for Jira Cloud instance.
- OnPrem - Leave the Cloud ID empty, and fill in the rest of the fields.
Cloud ID
- Go to your Admin page.
- Click the Products tab on the top banner and choose the appropriate site under Sites and Products on the left side bar. Your Cloud ID will appear in the URL:
https://admin.atlassian.com/s/{cloud_id}/users
Authentication
Basic Authentication
Leave the Client ID, Client Secret and Personal Access Token fields empty and fill in the following fields:
- User name - Enter your user email.
- API key - Enter the API token. To generate API token, see here
Basic Authentication permissions
Ensure that you possess the necessary permissions by navigating to Project Settings > Permissions in the project.
Locate permissions for the tasks listed below:
- Browse projects
- Create issues
- Edit issues
- Delete issues
- Transition issues
- Create attachments
- Add comments
- Link issues
Personal Access Token Authentication
Leave the User name, API key, Client ID and Client Secret empty and fill in the following fields:
- Personal Access Token - Enter the Personal Access Token you created for a user, see here
OAuth 2.0
For both instances (Cloud ID & OnPrem), it is advised to use the https://oproxy.demisto.ninja/authcode Callback URL. The OProxy URL is a client side only web page which provides an easy interface to copy the obtained auth code from the authorization response to the integration configuration in the authorization flow steps. Optionally, if you don’t want to use the OProxy URL, you can use a localhost URL on a port that is not used locally on your machine. For example: http://localhost:9004. You will then need to copy the code from the URL address bar in the response (see OAuth 2.0 authorization Flow In Cortex XSOAR).
Cloud authentication
Go to your Developer console page, and choose the App you want to integrate with your instance. It must be of type OAuth 2.0. For creating a new app with type OAuth 2.0, click Create and choose OAuth 2.0 integration and follow the steps.
Callback URL
- Go to the Authorization tab, and click Add on the authorization with type of OAuth 2.0 (3LO).
- Insert a Callback URL.
Client ID, Client Secret
- Go to the Settings tab.
- Copy the Client ID and Secret to the Client ID and Client Secret fields, respectively.
Cloud Scopes
The integration uses the offline_access scope, in order to retrieve refresh tokens.
Classic Scopes
- read:jira-work
- read:jira-user
- write:jira-work
Granular Scopes
- read:jql:jira
- read:issue-details:jira
- write:board-scope:jira-software
- read:board-scope:jira-software
- read:sprint:jira-software
- read:epic:jira-software
- write:sprint:jira-software
OnPrem authentication
- Log in to Jira as a user with
Jira Administratorpermissions. - Click the Jira Administration tab (the gear icon found in the top right corner) and click Applications.
- To create a new
Application link, which will be used to integrate Cortex XSOAR with Jira:
a. Click Application links underIntegrations, found on the left side menu.
b. Click Create link and choose External application with the Incoming direction. - Fill in the required details as explained in the page, by inserting a Callback URL, and choosing the permission Write.
- Once the link is created, you will be able to see
Client ID, and theClient secret, which are required in the configuration screen. Copy these values and paste them into the respective fields in the configuration screen.
OnPrem Scopes
Write
OAuth 2.0 authorization Flow In Cortex XSOAR
- Create the authentication application as explained in the OAuth 2.0 section.
- Run the command
!jira-oauth-start, where you will be presented with a URL to authenticate yourself. - After authenticating, you will be redirected to the configured Callback URL, where you will retrieve the authorization code provided as a query parameter called
code. - Insert the retrieved authorization code as an argument to the
!jira-oauth-completecommand. - Run the
!jira-oauth-testto test the connection of the instance.
Authenticating using custom callback URL

Authenticating using the oproxy callback URL

Fetch Incidents
When you enable incidents fetching, you have the option to configure a query which will be used to fetch Jira issues as incidents in Cortex XSOAR. The query uses one of the following fields in order to progressively fetch incidents:
idof Jira issuescreated timeof Jira issuesupdated timeof Jira issues (using this field may cause duplicates, so be wary)
If created time, or updated time is selected when fetching incidents for the first time, then the Time range for initial data fetch argument is used in the fetch query.
By default, 50 issues are fetched for each call.
If Fetch comments is enabled, The fetched incidents will include the comments in the Jira issue, and preview them in the form of a table in the incident info tab.
If Fetch attachments is enabled, The fetched incidents will include the attachments in the Jira issue.
Note: Changing certain incidents fetching configuration parameters, such as Issue Field to fetch by on the fly may result in unintended side effects and behaviors, including duplicate or missing incidents. It is recommended to reset the “last run” timestamp before applying such changes or, preferably, configure a new integration instance with the new fetch configuration.
Commands
You can execute these commands from the Cortex XSOAR CLI, as part of an automation, or in a playbook.
After you successfully execute a command, a DBot message appears in the War Room with the command details.
Notes:
- For OnPrem, all the commands use the WRITE scope, for Cloud, the required scopes for each command will be mentioned under the name of the command.
- For the commands that are shared between Jira V2 and V3, we still support the arguments from V2, but are configured to be hidden, and are prioritized when supplied to the commands, to not break backwards compatibility.
jira-issue-get-attachment
Download attachments for a specific issue (Will download a file to War Room).
Scope: read:jira-work
Base Command
jira-issue-get-attachment
Input
| Argument Name | Description | Required |
|---|---|---|
| attachment_id | A CSV list of the attachments’ ID, which can be retrieved using the jira-get-issue command. |
Required |
Context Output
| Path | Type | Description |
|---|---|---|
| InfoFile.Name | String | The file name. |
| InfoFile.EntryID | String | The EntryID of the file in the War Room. |
| InfoFile.Size | Number | The size of the file (in bytes). |
| InfoFile.Type | String | The file type, as determined by libmagic (same as displayed in file entries). |
| InfoFile.Extension | String | The file extension. |
| InfoFile.Info | String | Basic information of the file. |
Command example
!jira-issue-get-attachment attachment_id=16477
Context Example
{
"InfoFile": {
"EntryID": "10906@33e912c0-76a9-4a08-8cc6-1b20b1980b20",
"Extension": "pdf",
"Info": "application/pdf",
"Name": "dummy.pdf",
"Size": 13264,
"Type": "PDF document, version 1.4, 1 pages (zip deflate encoded)"
}
}
Human Readable Output
jira-delete-issue
Deletes an issue in Jira. Issue’s sub-tasks will also be deleted if there are any.
Scope: write:jira-work
Base Command
jira-delete-issue
Input
| Argument Name | Description | Required |
|---|---|---|
| issueIdOrKey | Deprecated. Please use issue_id or issue_key. | Optional |
| issue_id | The issue ID (Issue ID or key is required). | Optional |
| issue_key | The issue key (Issue ID or key is required). | Optional |
Context Output
There is no context output for this command.
Command example
!jira-delete-issue issue_key=PROJECTKEY-114
Human Readable Output
Issue deleted successfully.
jira-get-specific-field
Gets specific fields from a Jira issue and adds it to context dynamically.
Scope: read:jira-work
Base Command
jira-get-specific-field
Input
| Argument Name | Description | Required |
|---|---|---|
| issue_id | The issue ID (Issue ID or key is required). | Optional |
| issue_key | The issue key (Issue ID or key is required). | Optional |
| issueId | Deprecated. Please use issue_id or issue_key. | Optional |
| field | Deprecated. Please use fields. | Optional |
| fields | The fields to retrieve from the issue. For example field=”customfield_164,labels”. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Ticket.Id | String | The ticket ID. |
| Ticket.Key | String | The ticket key. |
| Ticket.Assignee | String | The user assigned to the ticket. |
| Ticket.Creator | String | The user who created the ticket. |
| Ticket.Summary | String | The ticket summary. |
| Ticket.Status | String | The ticket status. |
Command example
!jira-get-specific-field issue_key=PROJECTKEY-35 fields="watches,rank"
Context Example
{
"Ticket": {
"Assignee": "Example User(example@example.com)",
"Attachments": [
{
"created": "2023-05-04T21:11:51.286+0300",
"filename": "dummy_attachment_content.txt",
"id": "16475",
"size": 13264
},
{
"created": "2023-05-04T21:32:57.042+0300",
"filename": "dummy.pdf",
"id": "16478",
"size": 13264
}
],
"Components": [
"dummy-comp",
"Integration"
],
"Created": "2023-03-01T11:34:49.730+0200",
"Creator": "Example User(example@example.com)",
"Description": "Edited subbscription",
"DueDate": "2023-01-01",
"Id": "21487",
"Key": "PROJECTKEY-35",
"Labels": [
"label1",
"label2"
],
"LastSeen": "2023-05-08T19:02:34.151+0300",
"LastUpdate": "2023-05-08T19:07:44.900+0300",
"Priority": "Highest",
"ProjectName": "Company Snoozing App",
"Status": "Backlog",
"Summary": "Edited Summary",
"customfield_10019": {
"issueFieldDisplayName": "Rank",
"rawData": "0|i00kjb:"
},
"watches": {
"issueFieldDisplayName": "Watchers",
"rawData": {
"isWatching": true,
"self": "https://api.atlassian.com/ex/jira/1234/rest/api/3/issue/PROJECTKEY-35/watchers",
"watchCount": 1
}
}
}
}
Human Readable Output
Issue PROJECTKEY-35
Assignee Created Creator Description Due Date Id Issue Type Key Labels Priority Project Name Reporter Status Summary Ticket Link Example User(example@example.com) 2023-03-01T11:34:49.730+0200 Example User(example@example.com) Edited subbscription 2023-01-01 21487 Story PROJECTKEY-35 label1,
label2Highest Company Snoozing App Example User(example@example.com) Backlog Edited Summary https://api.atlassian.com/ex/jira/1234/rest/api/3/issue/21487
jira-issue-add-link
Creates (or updates) an issue link.
Scope: write:jira-work
Base Command
jira-issue-add-link
Input
| Argument Name | Description | Required |
|---|---|---|
| globalId | Deprecated. Please use global_id. | Optional |
| global_id | If the global ID is provided and a remote issue link exists with that global ID, the remote issue link is updated. | Optional |
| relationship | The object relationship to the issue, for example: causes. | Optional |
| url | The URL link. | Required |
| title | The link title. | Required |
| summary | The link summary. | Optional |
| issueId | Deprecated. Please use issue_id or issue_key. | Optional |
| issue_id | The issue ID (Issue ID or key is required). | Optional |
| issue_key | The issue key (Issue ID or key is required). | Optional |
| application_type | The application type of the linked remote application. For example “com.atlassian.confluence”. | Optional |
| applicationType | Deprecated. Please use application_type. | Optional |
| application_name | The application name of the linked remote application. For example “My Confluence Instance”. | Optional |
| applicationName | Deprecated. Please use application_name. | Optional |
Context Output
There is no context output for this command.
Command example
!jira-issue-add-link title="Demo" url="https://demisto.com" issue_key=PROJECTKEY-35
Human Readable Output
Remote Issue Link
id ticket_link 16506 https://api.atlassian.com/ex/jira/1234/rest/api/3/issue/PROJECTKEY-35/remotelink/16506
jira-get-id-by-attribute
Gets the account ID for a given user attribute.
Scope: read:jira-user
Base Command
jira-get-id-by-attribute
Input
| Argument Name | Description | Required |
|---|---|---|
| attribute | The user attribute value. For Jira Cloud, this value can be the display name, or email address, and for Jira OnPrem, this value can be the display name, email address, or username. | Required |
| max_results | The maximum number of users to fetch when searching for a matching user (default is 50). The maximum allowed value is dictated by the Jira property ‘jira.search.views.default.max’. If you specify a value greater than this number, your search results are truncated. Default is 50. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Jira.User.Attribute | String | The user’s attribute. |
| Jira.User.AccountId | String | The user’s account ID. |
Command example
!jira-get-id-by-attribute attribute=Tomer
Context Example
{
"Jira": {
"User": {
"AccountId": "12345",
"Attribute": "Tomer"
}
}
}
Human Readable Output
The account ID that holds the attribute
Tomer: 12345
jira-issue-query
Queries Jira issues.
Scope: read:jira-work
Base Command
jira-issue-query
Input
| Argument Name | Description | Required |
|---|---|---|
| query | The JQL query string. | Required |
| start_at | The index (integer) of the first issue to return (0-based). | Optional |
| startAt | Deprecated. Please use start_at. | Optional |
| max_results | The maximum number of users to fetch when searching for a matching user (default is 50). The maximum allowed value is dictated by the Jira property ‘jira.search.views.default.max’. If you specify a value greater than this number, your search results are truncated. | Optional |
| maxResults | Deprecated. Please use max_results. | Optional |
| headers | Displays the headers in human readable format. | Optional |
| fields | A CSV list of fields to return (Using the name or ID of the fields) to context data. Supplying all will return all the issue fields (which will include nested values), except for the comments, which can be retrieved using the !jira-get-comments command. |
Optional |
| extraFields | Deprecated. Please use fields. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Jira.Query.nextPageToken | String | A token for fetching the next page of the query if such exists. |
| Ticket.Id | String | The ticket ID. |
| Ticket.Key | String | The ticket key. |
| Ticket.Assignee | String | The user assigned to the ticket. |
| Ticket.Creator | String | The user who created the ticket. |
| Ticket.Summary | String | The ticket summary. |
| Ticket.Description | String | The ticket’s description. |
| Ticket.RawDescription | String | The ticket’s raw description. |
| Ticket.Labels | Array | The ticket’s labels. |
| Ticket.Components | Array | The ticket’s components. |
| Ticket.Status | String | The ticket status. |
| Ticket.Priority | String | The ticket priority. |
| Ticket.ProjectName | String | The ticket project name. |
| Ticket.DueDate | Date | The due date. |
| Ticket.Created | Date | The time the ticket was created. |
| Ticket.LastSeen | Date | The last time the ticket was viewed. |
| Ticket.LastUpdate | Date | The last time the ticket was updated. |
Command example
!jira-issue-query query="status!=done" max_results=2 fields="watches,rank"
Context Example
{
"Ticket": [
{
"Assignee": "",
"Attachments": [
{
"created": "2023-03-26T18:06:24.325+0300",
"filename": "DemistoContent-InstallContentEnvironment-160822-0023-68.pdf",
"id": "16426",
"size": 17815
}
],
"Components": [],
"Created": "2023-03-01T11:59:18.202+0200",
"Creator": "Example User(example@example.com)",
"Description": "Dummy description",
"DueDate": "",
"Id": "21490",
"Key": "XSOAR-19",
"Labels": [],
"LastSeen": "",
"LastUpdate": "2023-05-04T21:41:44.516+0300",
"Priority": "Highest",
"ProjectName": "XSOARJiraV3",
"Status": "To Do",
"Summary": "something",
"customfield_10019": {
"issueFieldDisplayName": "Rank",
"rawData": "0|i00kjr:"
},
"watches": {
"issueFieldDisplayName": "Watchers",
"rawData": {
"isWatching": true,
"self": "https://api.atlassian.com/ex/jira/1234/rest/api/3/issue/XSOAR-19/watchers",
"watchCount": 1
}
}
},
{
"Assignee": "",
"Attachments": [],
"Components": [],
"Created": "2023-03-01T14:10:55.495+0200",
"Creator": "Example User(example@example.com)",
"Description": "Dummy",
"DueDate": "",
"Id": "21494",
"Key": "XSOAR-18",
"Labels": [],
"LastSeen": "",
"LastUpdate": "2023-03-01T14:10:55.495+0200",
"Priority": "Medium",
"ProjectName": "XSOARJiraV3",
"Status": "To Do",
"Summary": "something something",
"customfield_10019": {
"issueFieldDisplayName": "Rank",
"rawData": "0|i00kkn:"
},
"watches": {
"issueFieldDisplayName": "Watchers",
"rawData": {
"isWatching": true,
"self": "https://api.atlassian.com/ex/jira/1234/rest/api/3/issue/XSOAR-18/watchers",
"watchCount": 1
}
}
}
]
}
Human Readable Output
Issue XSOAR-19
Assignee Created Creator Description Due Date Id Issue Type Key Labels Priority Project Name Reporter Status Summary Ticket Link 2023-03-01T11:59:18.202+0200 Example User(example@example.com) Dummy description 21490 Task XSOAR-19 Highest XSOARJiraV3 Example User(example@example.com) To Do something https://api.atlassian.com/ex/jira/1234/rest/api/3/issue/21490
Issue XSOAR-18
Assignee Created Creator Description Due Date Id Issue Type Key Labels Priority Project Name Reporter Status Summary Ticket Link 2023-03-01T14:10:55.495+0200 Example User(example@example.com) Dummy 21494 Task XSOAR-18 Medium XSOARJiraV3 Example User(example@example.com) To Do something something https://api.atlassian.com/ex/jira/1234/rest/api/3/issue/21494
jira-get-id-offset
Returns the ID offset, which is the ID of the first issue that was created in the current Jira instance, or the ID of the first issue with respect to the given query argument if given. You can use its result as the initial ID when fetching incidents by the issue id field.
Scope: read:jira-work
Base Command
jira-get-id-offset
Input
| Argument Name | Description | Required |
|---|---|---|
| query | The query that will be used to retrieve the first issue ID in it. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Ticket.idOffSet | String | The ID offset. |
Command example
!jira-get-id-offset query="status!=done"
Context Example
{
"Ticket": {
"idOffSet": "10161"
}
}
Human Readable Output
ID Offset: 10161
jira-issue-add-comment
Adds a new comment to an existing Jira issue.
Scope: write:jira-work
Base Command
jira-issue-add-comment
Input
| Argument Name | Description | Required |
|---|---|---|
| issueId | Deprecated. Please use issue_id or issue_key. | Optional |
| issue_id | The issue ID (Issue ID or key is required). | Optional |
| issue_key | The issue key (Issue ID or key is required). | Optional |
| comment | The comment body. | Required |
| visibility | The roles that can view the comment, for example: Administrators. | Optional |
Context Output
There is no context output for this command.
Command example
!jira-issue-add-comment issue_key=PROJECTKEY-31 comment="New comment"
Human Readable Output
Comment added successfully
Comment Id Ticket Link New comment 18456 https://api.atlassian.com/ex/jira/1234/rest/api/3/issue/21432/comment/18456
jira-issue-upload-file
Uploads a file attachment to an issue.
Scope: write:jira-work
Base Command
jira-issue-upload-file
Input
| Argument Name | Description | Required |
|---|---|---|
| issueId | Deprecated. Please use issue_id or issue_key. | Optional |
| issue_id | The issue ID (Issue ID or key is required). | Optional |
| issue_key | The issue key (Issue ID or key is required). | Optional |
| upload | The entry ID to upload. | Required |
| attachment_name | The attachment name to be displayed in Jira (overrides the original file name). | Optional |
| attachmentName | Deprecated. Please use attachment_name. | Optional |
Context Output
There is no context output for this command.
Command example
!jira-issue-upload-file upload=10833@33e912c0-76a9-4a08-8cc6-1b20b1980b20 issue_key=PROJECTKEY-31
Human Readable Output
Attachment added successfully
Attachment Link Attachment Name Id Issue Key https://api.atlassian.com/ex/jira/1234/rest/api/3/attachment/16505 dummy.pdf 16505 PROJECTKEY-31
jira-issue-delete-file
Delete an attachment from an issue.
Scope: write:jira-work
Base Command
jira-issue-delete-file
Input
| Argument Name | Description | Required |
|---|---|---|
| attachment_id | The attachment ID. | Required |
Context Output
There is no context output for this command.
Command example
!jira-issue-delete-file attachment_id=ATTACHMENT_ID
Human Readable Output
Attachment id ATTACHMENT_ID was deleted successfully.
jira-list-transitions
Lists all possible transitions for a given ticket in its current status.
Scope: read:jira-work
Base Command
jira-list-transitions
Input
| Argument Name | Description | Required |
|---|---|---|
| issueId | Deprecated. Please use issue_id or issue_key. | Optional |
| issue_id | The issue ID (Issue ID or key is required). | Optional |
| issue_key | The issue key (Issue ID or key is required). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Ticket.Id | String | The ticket ID. |
| Ticket.Key | String | The ticket key. |
| Ticket.Transitions | Object | An object that holds data about all possible transitions. |
| Ticket.Transitions.transitions | Array | An array of all possible transitions. |
| Ticket.Transitions.ticketId | String | The ticket ID. |
Command example
!jira-list-transitions issue_key=PROJECTKEY-35
Context Example
{
"Ticket": {
"Key": "PROJECTKEY-35",
"Transitions": {
"ticketId": "PROJECTKEY-35",
"transitions": [
"Backlog",
"In Development"
]
}
}
}
Human Readable Output
List Transitions
Transition Names Backlog In Development
jira-edit-issue
Modifies an issue in Jira. If the status or transition fields are given, then the other supplied fields should appear on the transition screen.
Scope: write:jira-work
Base Command
jira-edit-issue
Input
| Argument Name | Description | Required |
|---|---|---|
| parent_issue_key | The parent issue key (if you’re editing a sub-task). This argument is only relevant for Jira Cloud. | Optional |
| parent_issue_id | The parent issue ID (if you’re editing a sub-task). This argument is only relevant for Jira Cloud. | Optional |
| action | Whether to append or rewrite the values. Only issue fields of type string or array support appending. If the field is of type string, then the new appended value will be: ‘old value, new value’, where they will be separated by a comma. Possible values are: append, rewrite. Default is rewrite. | Optional |
| issueId | Deprecated. Please use issue_id or issue_key. | Optional |
| issue_id | The issue ID (Issue ID or key is required). | Optional |
| issue_key | The issue key (Issue ID or key is required). | Optional |
| issue_json | The issue object (in JSON format). This argument is for advanced users, as when utilizing this argument, one cannot use other arguments (it will raise an error) except the issue_id issue_eky action transition and status and must input all required arguments into the issue_json. In addition, when issue_json is used, it is not possible to use the project name but only the project key. For example {“fields”:{“customfield_10037”:”field_value”, “summary”: “some summary”, “project”: {“key”: “"}}}. For more information about this argument, see https://developer.atlassian.com/server/jira/platform/jira-rest-api-example-create-issue-7897248/. |
Optional |
| issueJson | Deprecated. Please use issue_json. | Optional |
| summary | The issue summary. | Optional |
| description | The issue description. | Optional |
| labels | A CSV list of labels. | Optional |
| priority | The issue priority, for example: High, Medium. | Optional |
| due_date | The due date for the issue (in the format yyyy-mm-dd). | Optional |
| dueDate | Deprecated. Please use due_date. | Optional |
| assignee | The name of the assignee. Relevant for Jira Server only. If you are using Jira Cloud, provide the assignee_id argument instead. Use the jira-get-id-by-attribute command to get the user’s name. | Optional |
| assignee_id | The account ID of the assignee. Relevant for Jira Cloud only. Use the jira-get-id-by-attribute command to get the user’s account ID. | Optional |
| status | The issue status (Either choose the issue status or transition, but not both). | Optional |
| transition | The issue transition (Either choose the issue status or transition, but not both). | Optional |
| environment | A text field for describing the environment in which the issue occurred. For example environment=”IE9 on Windows 7”. | Optional |
| security | The security level name of the issue. For example security=”Anyone”. | Optional |
| components | A CSV list of components. For example components=”component1,component2”. When using a Jira OnPrem instance, or using the action append, the entered components must already exist. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Ticket.Id | String | The ticket ID. |
| Ticket.Key | String | The ticket key. |
| Ticket.Assignee | String | The user assigned to the ticket. |
| Ticket.Creator | String | The user who created the ticket. |
| Ticket.Summary | String | The ticket summary. |
| Ticket.Description | String | The ticket’s project description. |
| Ticket.RawDescription | String | The ticket’s project raw description. |
| Ticket.Labels | Array | The ticket’s project labels. |
| Ticket.Status | String | The ticket status. |
| Ticket.Priority | String | The ticket priority. |
| Ticket.ProjectName | String | The ticket project name. |
| Ticket.DueDate | Date | The due date. |
| Ticket.Created | Date | The time the ticket was created. |
| Ticket.LastSeen | Date | The last time the ticket was viewed. |
| Ticket.LastUpdate | Date | The last time the ticket was updated. |
Command example
!jira-edit-issue action=rewrite issue_key=PROJECTKEY-35 assignee_id=12345 description="Edited subbscription" due_date="2023-01-01" environment="Windows XP" labels="label1,label2" priority="Highest" security=Anyone status="Backlog" summary="Edited Summary"
Context Example
{
"Ticket": {
"Assignee": "Example User(example@example.com)",
"Attachments": [
{
"created": "2023-05-07T20:00:59.121+0300",
"filename": "dummy_attachment_content.txt",
"id": "16504",
"size": 13264
},
{
"created": "2023-05-04T21:29:49.246+0300",
"filename": "dummy.pdf",
"id": "16477",
"size": 13264
}
],
"Components": [
"dummy-comp",
"Integration"
],
"Created": "2023-03-01T11:34:49.730+0200",
"Creator": "Example User(example@example.com)",
"Description": "Edited subbscription",
"DueDate": "2023-01-01",
"Id": "21487",
"Key": "PROJECTKEY-35",
"Labels": [
"label1",
"label2"
],
"LastSeen": "2023-05-08T19:02:34.151+0300",
"LastUpdate": "2023-05-08T19:07:44.900+0300",
"Priority": "Highest",
"ProjectName": "Company Snoozing App",
"Status": "Backlog",
"Summary": "Edited Summary"
}
}
Human Readable Output
Issue PROJECTKEY-35
Assignee Created Creator Description Due Date Id Issue Type Key Labels Priority Project Name Reporter Status Summary Ticket Link Example User(example@example.com) 2023-03-01T11:34:49.730+0200 Example User(example@example.com) Edited subbscription 2023-01-01 21487 Story PROJECTKEY-35 label1,
label2Highest Company Snoozing App Example User(example@example.com) Backlog Edited Summary https://api.atlassian.com/ex/jira/1234/rest/api/3/issue/21487
jira-issue-assign
Assigns an assignee to an existing issue.
Scope: write:jira-work
Base Command
jira-issue-assign
Input
| Argument Name | Description | Required |
|---|---|---|
| issue_id | The issue ID (Issue ID or key is required). | Optional |
| issue_key | The issue key (Issue ID or key is required). | Optional |
| assignee | The name of the assignee. Relevant for Jira Server only. If you are using Jira Cloud, provide the assignee_id argument instead. Use the jira-get-id-by-attribute command to get the user’s name. | Optional |
| assignee_id | The account ID of the assignee. Relevant for Jira Cloud only. Use the jira-get-id-by-attribute command to get the user’s account ID. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Ticket.Id | String | The ticket ID. |
| Ticket.Key | String | The ticket key. |
| Ticket.Assignee | String | The user assigned to the ticket. |
| Ticket.Creator | String | The user who created the ticket. |
| Ticket.Summary | String | The ticket summary. |
| Ticket.Description | String | The ticket’s project description. |
| Ticket.RawDescription | String | The ticket’s project raw description. |
| Ticket.Labels | Array | The ticket’s project labels. |
| Ticket.Status | String | The ticket status. |
| Ticket.Priority | String | The ticket priority. |
| Ticket.ProjectName | String | The ticket project name. |
| Ticket.DueDate | Date | The due date. |
| Ticket.Created | Date | The time the ticket was created. |
| Ticket.LastSeen | Date | The last time the ticket was viewed. |
| Ticket.LastUpdate | Date | The last time the ticket was updated. |
Command example
!jira-issue-assign issue_key=PROJECTKEY-35 assignee_id=12345
Context Example
{
"Ticket": {
"Assignee": "Example User(example@example.com)",
"Attachments": [
{
"created": "2023-05-07T20:00:59.121+0300",
"filename": "dummy_attachment_content.txt",
"id": "16504",
"size": 13264
},
{
"created": "2023-05-04T21:29:49.246+0300",
"filename": "dummy.pdf",
"id": "16477",
"size": 13264
}
],
"Components": [
"dummy-comp",
"Integration"
],
"Created": "2023-03-01T11:34:49.730+0200",
"Creator": "Example User(example@example.com)",
"Description": "Edited subbscription",
"DueDate": "2023-01-01",
"Id": "21487",
"Key": "PROJECTKEY-35",
"Labels": [
"label1",
"label2"
],
"LastSeen": "2023-05-08T19:02:34.151+0300",
"LastUpdate": "2023-05-08T19:07:44.900+0300",
"Priority": "Highest",
"ProjectName": "Company Snoozing App",
"Status": "Backlog",
"Summary": "Edited Summary"
}
}
Human Readable Output
Issue PROJECTKEY-35
Assignee Created Creator Description Due Date Id Issue Type Key Labels Priority Project Name Reporter Status Summary Ticket Link Example User(example@example.com) 2023-03-01T11:34:49.730+0200 Example User(example@example.com) Edited subbscription 2023-01-01 21487 Story PROJECTKEY-35 label1,
label2Highest Company Snoozing App Example User(example@example.com) Backlog Edited Summary https://api.atlassian.com/ex/jira/1234/rest/api/3/issue/21487
jira-create-issue
Creates a new issue in Jira.
Scope: write:jira-work
Base Command
jira-create-issue
Input
| Argument Name | Description | Required |
|---|---|---|
| issue_json | ‘The issue object (in JSON format). This argument is for advanced users, as when utilizing this argument, one cannot use other arguments (it will raise an error) and must input all required arguments into the issue_json. In addition, when issue_json is used, it is not possible to use the project name but only the project key. For example {“fields”:{“customfield_10037”:”field_value”, “summary”: “some summary”, “project”: {“key”: “"}}}. For more information about this argument, see https://developer.atlassian.com/server/jira/platform/jira-rest-api-example-create-issue-7897248/'. | Optional |
| issueJson | Deprecated. Please use issue_json. | Optional |
| summary | The summary of the issue (Summary value is required, either from the “summary” argument, or from the “issue_json” argument). | Optional |
| project_key | The project key with which to associate the issue (Project Key or name is required). | Optional |
| projectKey | Deprecated. Please use project_key. | Optional |
| issue_type_name | Selects an issue type by name, for example: “Problem”. (Issue type name or id is required). | Optional |
| issueTypeName | Deprecated. Please use issue_type_name. | Optional |
| issue_type_id | Selects an issue type by its numeric ID (Issue type name or id is required). | Optional |
| issueTypeId | Deprecated. Please use issue_type_id. | Optional |
| project_name | The project name with which to associate the issue (Project Key or name is required). | Optional |
| projectName | Deprecated. Please use project_name. | Optional |
| description | A description of the issue. | Optional |
| labels | A CSV list of labels. | Optional |
| priority | The priority of the issue, for example: High, Medium. | Optional |
| due_date | The due date for the issue (in the format yyyy-mm-dd). | Optional |
| dueDate | Deprecated. Please use due_date. | Optional |
| assignee | The name of the assignee. Relevant for Jira Server only. If you are using Jira Cloud, provide the assignee_id argument instead. Use the jira-get-id-by-attribute command to get the user’s name. | Optional |
| assignee_id | The account ID of the assignee. Relevant for Jira Cloud only. Use the jira-get-id-by-attribute command to get the user’s account ID. | Optional |
| reporter_id | The account ID of the reporter. Relevant for Jira Cloud only. Use the jira-get-id-by-attribute command to get the user’s account ID. | Optional |
| reporter | The name of the of the reporter. Relevant for Jira Server only. Please use reporter_id for Jira Cloud. Use the jira-get-id-by-attribute command to get the user’s name. | Optional |
| parent_issue_key | The parent issue key (if you’re creating a sub-task). | Optional |
| parentIssueKey | Deprecated. Please use parent_issue_key. | Optional |
| parent_issue_id | The parent issue ID (if you’re creating a sub-task). | Optional |
| parentIssueId | Deprecated. Please use parent_issue_id. | Optional |
| environment | A text field for describing the environment in which the issue occurred. For example environment=”IE9 on Windows 7”. | Optional |
| security | The security level of the issue. For example security=”Anyone”. | Optional |
| components | The component names of the issue. For example components=”component1,component2”. When using a Jira OnPrem instance, the entered components must already exist. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Ticket.Id | String | The ticket ID. |
| Ticket.Key | String | The ticket key. |
Command example
!jira-create-issue summary="Dummy Summary" assignee_id=12345 components="dummy-comp,New-Component" description="Dummy description" due_date="2023-01-01" environment="Windows XP" issue_type_name="Sub-task" labels="label1,label2" parent_issue_key=PROJECTKEY-35 priority=Highest project_name="Company Snoozing App" reporter_id=12345 security=Assignee
Context Example
{
"Ticket": {
"Id": "21619",
"Key": "PROJECTKEY-145"
}
}
Human Readable Output
Issue PROJECTKEY-145
Id Key Project Key Ticket Link 21619 PROJECTKEY-145 PROJECTKEY https://api.atlassian.com/ex/jira/1234/rest/api/3/issue/21619
jira-get-issue
Fetches an issue from Jira.
Scope: read:jira-work
Base Command
jira-get-issue
Input
| Argument Name | Description | Required |
|---|---|---|
| fields | A CSV list of fields to return (Using the name or ID of the fields) to context data. Supplying all will return all the issue fields (which will include nested values), except for the comments, which can be retrieved using the !jira-get-comments command. |
Optional |
| issueId | Deprecated. Please use issue_id or issue_key. | Optional |
| issue_id | The issue ID (Issue ID or key is required). | Optional |
| issue_key | The issue key (Issue ID or key is required). | Optional |
| headers | Displays the headers in human readable format. | Optional |
| get_attachments | If “true”, retrieves the issue attachments and downloads the file to the War Room. Possible values are: true, false. Default is false. | Optional |
| getAttachments | Deprecated. Please use get_attachments. Possible values are: true, false. | Optional |
| expand_links | If “true”, expands the issue links (the linked issues and subtasks). Possible values are: true, false. Default is false. | Optional |
| expandLinks | Deprecated. Please use expand_links. Possible values are: true, false. | Optional |
Note: When supplying the all value to the fields argument, then all the issue fields will be returned, and every issue field that was not parsed by the code, will be parsed in the following format: {customfield_1: SOME_NESTED_VALUE} -> {customfield_1: {issueFieldDisplayName: THE_DISPLAY_NAME_OF_THE_FIELD, rawData: SOME_NESTED_VALUE}}
Context Output
| Path | Type | Description |
|---|---|---|
| Ticket.Id | String | The ticket ID. |
| Ticket.Key | String | The ticket key. |
| Ticket.Assignee | String | The user assigned to the ticket, in the form `Username(User email address)`. |
| Ticket.Creator | String | The user who created the ticket. |
| Ticket.Summary | String | The ticket summary. |
| Ticket.Description | String | The ticket’s project description. |
| Ticket.RawDescription | String | The ticket’s project raw description. |
| Ticket.Status | String | The ticket status. |
| Ticket.Labels | Array | The ticket’s labels. |
| Ticket.Components | Array | The ticket’s components. |
| Ticket.Priority | String | The ticket priority. |
| Ticket.ProjectName | String | The ticket project name. |
| Ticket.DueDate | Date | The due date. |
| Ticket.Created | Date | The time the ticket was created. |
| Ticket.LastSeen | Date | The last time the ticket was viewed. |
| Ticket.LastUpdate | Date | The last time the ticket was updated. |
| Ticket.Attachments.created | Date | The created time of the attachment. |
| Ticket.Attachments.filename | String | The file name of the attachment. |
| Ticket.Attachments.id | String | The id of the attachment. |
| Ticket.Attachments.size | Number | The size (in bytes) of the attachment. |
| InfoFile.Name | String | The file name. |
| InfoFile.EntryID | String | The ID for locating the file in the War Room. |
| InfoFile.Size | Number | The size of the file (in bytes). |
| InfoFile.Type | String | The file type, as determined by libmagic (same as displayed in file entries). |
| InfoFile.Extension | String | The file extension. |
| InfoFile.Info | String | Basic information about the file. |
Command example
!jira-get-issue issue_key=PROJECTKEY-35 expand_links=true fields=watches,rank get_attachments=true
Context Example
{
"InfoFile": [
{
"EntryID": "10845@33e912c0-76a9-4a08-8cc6-1b20b1980b20",
"Extension": "png",
"Info": "image/png",
"Name": "1682340338180_home_screen_background_mirrored_from_xsoar.png",
"Size": 212597,
"Type": "PNG image data, 430 x 932, 8-bit/color RGBA, non-interlaced"
},
{
"EntryID": "10846@33e912c0-76a9-4a08-8cc6-1b20b1980b20",
"Extension": "txt",
"Info": "text/plain; charset=utf-8",
"Name": "dummy_attachment_content.txt",
"Size": 13264,
"Type": "PDF document, version 1.4, 1 pages (zip deflate encoded)"
}
],
"Ticket": [
{
"Assignee": "Example User(example@example.com)",
"Attachments": [
{
"created": "2023-04-24T15:46:18.919+0300",
"filename": "1682340338180_home_screen_background_mirrored_from_xsoar.png",
"id": "16466",
"size": 212597
},
{
"created": "2023-05-07T20:00:59.121+0300",
"filename": "dummy_attachment_content.txt",
"id": "16504",
"size": 13264
}
],
"Components": [
"dummy-comp",
"Integration"
],
"Created": "2023-03-01T11:34:49.730+0200",
"Creator": "Example User(example@example.com)",
"Description": "Edited subbscription",
"DueDate": "2023-01-01",
"Id": "21487",
"Key": "PROJECTKEY-35",
"Labels": [
"label1",
"label2"
],
"LastSeen": "2023-05-08T19:02:34.151+0300",
"LastUpdate": "2023-05-08T19:05:03.569+0300",
"Priority": "Highest",
"ProjectName": "Company Snoozing App",
"Status": "Selected for Development",
"Summary": "Edited Summary",
"customfield_10019": {
"issueFieldDisplayName": "Rank",
"rawData": "0|i00kjb:"
},
"watches": {
"issueFieldDisplayName": "Watchers",
"rawData": {
"isWatching": true,
"self": "https://api.atlassian.com/ex/jira/1234/rest/api/3/issue/PROJECTKEY-35/watchers",
"watchCount": 1
}
}
},
{
"Assignee": "",
"Attachments": [
{
"created": "2023-03-26T18:06:24.325+0300",
"filename": "DemistoContent-InstallContentEnvironment-160822-0023-68.pdf",
"id": "16426",
"size": 17815
}
],
"Components": [],
"Created": "2023-03-01T11:59:18.202+0200",
"Creator": "Example User(example@example.com)",
"Description": "Dummy description",
"DueDate": "",
"Id": "21490",
"Key": "XSOAR-19",
"Labels": [],
"LastSeen": "",
"LastUpdate": "2023-05-04T21:41:44.516+0300",
"Priority": "Highest",
"ProjectName": "XSOARJiraV3",
"Status": "To Do",
"Summary": "something",
"customfield_10019": {
"issueFieldDisplayName": "Rank",
"rawData": "0|i00kjr:"
},
"watches": {
"issueFieldDisplayName": "Watchers",
"rawData": {
"isWatching": true,
"self": "https://api.atlassian.com/ex/jira/1234/rest/api/3/issue/XSOAR-19/watchers",
"watchCount": 1
}
}
}
]
}
Human Readable Output
Issue COMPANYSA-35
Assignee Created Creator Description Due Date Id Issue Type Key Labels Priority Project Name Reporter Status Summary Ticket Link Example User(example@example.com) 2023-03-01T11:34:49.730+0200 Example User(example@example.com) hi 2023-05-24 21487 Story COMPANYSA-35 label1,
label2Highest Company Snoozing App Example User(example@example.com) In Progress XSOAR Meeting, Ammended summary https://api.atlassian.com/ex/jira/15d0e445-bd38-483c-b3fd-d15f562f369b/rest/api/3/issue/21487
Issue XSOAR-19
Assignee Created Creator Description Due Date Id Issue Type Key Labels Priority Project Name Reporter Status Summary Ticket Link 2023-03-01T11:59:18.202+0200 Example User(example@example.com) Dummy description 21490 Task XSOAR-19 Highest XSOARJiraV3 Example User(example@example.com) To Do something https://api.atlassian.com/ex/jira/1234/rest/api/3/issue/21490
jira-get-comments
Returns the comments added to a ticket.
Scope: read:jira-work
Base Command
jira-get-comments
Input
| Argument Name | Description | Required |
|---|---|---|
| limit | The maximum number of results to return. Default is 50 and maximum is 5000. Default is 50. | Optional |
| issueId | Deprecated. Please use issue_id or issue_key. | Optional |
| issue_id | The issue ID (Issue ID or key is required). | Optional |
| issue_key | The issue key (Issue ID or key is required). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Ticket.Id | String | The ID of the ticket. |
| Ticket.Key | String | The ticket key. |
| Ticket.Comment.Id | String | The ID of the comment. |
| Ticket.Comment.Comment | String | The text of the comment. |
| Ticket.Comment.Created | Date | The comment creation date. |
| Ticket.Comment.Updated | Date | The comment updated date. |
| Ticket.Comment.User | String | The user that created the comment. |
| Ticket.Comment.UpdateUser | String | The user that updated the comment. |
Command example
!jira-get-comments issue_key=PROJECTKEY-35 limit=2
Context Example
{
"Ticket": {
"Comment": [
{
"Comment": "New comment",
"Created": "2023-05-04T21:29:51.036+0300",
"Id": "18423",
"UpdateUser": "Example User",
"Updated": "2023-05-04T21:29:51.036+0300",
"User": "Example User"
},
{
"Comment": "Dummy Link",
"Created": "2023-05-04T21:30:29.599+0300",
"Id": "18424",
"UpdateUser": "Example User",
"Updated": "2023-05-04T21:30:29.599+0300",
"User": "Example User"
}
],
"Id": "21487",
"Key": "PROJECTKEY-35"
}
}
Human Readable Output
Comments
Comment Created Id UpdateUser Updated User New comment 2023-05-04T21:29:51.036+0300 18423 Example User 2023-05-04T21:29:51.036+0300 Example User Dummy Link 2023-05-04T21:30:29.599+0300 18424 Example User 2023-05-04T21:30:29.599+0300 Example User
jira-oauth-complete
Use this command to complete the authorization process. After copying the authorization code found in the query parameter code of the callback URL, paste the value in the command as an argument to finish the process.
Base Command
jira-oauth-complete
Input
| Argument Name | Description | Required |
|---|---|---|
| code | The authorization code retrieved from the callback URL according to the documentation. | Required |
Context Output
There is no context output for this command.
Human Readable Output
Logged in successfully
A refresh token was saved to the integration context. This token will be
used to generate a new access token once the current one expires.
jira-oauth-start
Use this command to start the authorization process. In order to authorize the instance, first run the command, and complete the process in the URL that is returned. You will then be redirected to the callback URL where you will copy the authorization code found in the query parameter code, and paste that value in the command !jira-ouath-complete as an argument to finish the process.
Base Command
jira-oauth-start
Input
There are no input arguments for this command.
Context Output
There is no context output for this command.
Human Readable Output
In order to retrieve the authorization code, use the following link:
https://example.com
After authorizing, you will be redirected to the configured callback URL, where you will retrieve the authorization code provided as a query parameter calledcode, and insert it as an argument to the !jira-oauth-complete command
jira-oauth-test
Use this command to test the connectivity of the Jira instance.
Base Command
jira-oauth-test
Input
There are no input arguments for this command.
Context Output
There is no context output for this command.
Human Readable Output
Successful connection.
jira-issue-delete-comment
Delete a comment from an issue.
Scope: write:jira-work
Base Command
jira-issue-delete-comment
Input
| Argument Name | Description | Required |
|---|---|---|
| comment_id | The comment ID. | Required |
| issue_id | The issue ID (Issue ID or key is required). | Optional |
| issue_key | The issue key (Issue ID or key is required). | Optional |
Context Output
There is no context output for this command.
Command example
!jira-issue-delete-comment issue_key=PROJECTKEY-35 comment_id=18423
Human Readable Output
Comment deleted successfully.
jira-issue-edit-comment
Edit a comment that is part of an issue.
Scope: write:jira-work
Base Command
jira-issue-edit-comment
Input
| Argument Name | Description | Required |
|---|---|---|
| issue_id | The issue ID (Issue ID or key is required). | Optional |
| issue_key | The issue key (Issue ID or key is required). | Optional |
| comment_id | The comment ID. | Required |
| comment | The content of the comment to modify. | Required |
| visibility | The roles that can view the comment, for example: Administrators. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Ticket.Id | String | The ID of the ticket. |
| Ticket.Comment.Id | String | The ID of the comment. |
| Ticket.Comment.Comment | String | The text of the comment. |
| Ticket.Comment.Created | String | The issue creation date. |
| Ticket.Comment.User | String | The user that created the comment. |
Command example
!jira-issue-edit-comment issue_key=PROJECTKEY-35 comment_id=18425 comment="New Hello There"
Context Example
{
"Ticket": {
"Comment": [
{
"Comment": "Dummy Link",
"Created": "2023-05-04T21:30:29.599+0300",
"Id": "18424",
"UpdateUser": "Example User",
"Updated": "2023-05-04T21:30:29.599+0300",
"User": "Example User"
},
{
"Comment": "New Hello There",
"Created": "2023-05-04T21:32:58.870+0300",
"Id": "18425",
"UpdateUser": "Example User",
"Updated": "2023-05-08T19:08:04.346+0300",
"User": "Example User"
},
{
"Comment": "Dummy Link",
"Created": "2023-05-04T21:33:29.986+0300",
"Id": "18426",
"UpdateUser": "Example User",
"Updated": "2023-05-04T21:33:29.986+0300",
"User": "Example User"
}
],
"Id": "21487",
"Key": "PROJECTKEY-35"
}
}
Human Readable Output
The comment has been edited successfully
jira-issue-list-fields
This command returns the issue fields, both system and custom fields.
Scope: read:jira-work
Base Command
jira-issue-list-fields
Input
| Argument Name | Description | Required |
|---|---|---|
| limit | The maximum number of results to return. This argument will be ignored if page or page_size arguments were given. Default value is 50. | Optional |
| page | The page number. Default value is 0. | Optional |
| page_size | The number of requested results per page. Default value is 50. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Jira.IssueField.id | String | The ID of the field. |
| Jira.IssueField.key | String | The key of the field. |
| Jira.IssueField.name | String | The name of the field. |
| Jira.IssueField.custom | String | Whether the field is a custom field. |
| Jira.IssueField.orderable | String | Whether the content of the field can be used to order lists. |
| Jira.IssueField.navigable | String | Whether the field can be used as a column on the issue navigator. |
| Jira.IssueField.searchable | String | Whether the content of the field can be searched. |
| Jira.IssueField.clauseNames | Array | The names that can be used to reference the field in an advanced search. |
| Jira.IssueField.scope | Object | The scope of the field. |
| Jira.IssueField.scope.type | String | The type of scope. Valid values: PROJECT, TEMPLATE |
| Jira.IssueField.scope.project | Object | The project the item has scope in. |
| Jira.IssueField.scope.project.self | String | The URL of the project details. |
| Jira.IssueField.scope.project.id | String | The ID of the project. |
| Jira.IssueField.scope.project.key | String | The key of the project. |
| Jira.IssueField.scope.project.name | String | The name of the project. |
| Jira.IssueField.scope.project.projectTypeKey | String | The project type of the project. Valid values: software, service_desk, business |
| Jira.IssueField.scope.project.simplified | Boolean | Whether or not the project is simplified. |
| Jira.IssueField.scope.project.avatarUrls | Object | The URLs of the project’s avatars. |
| Jira.IssueField.scope.project.projectCategory | Object | The category the project belongs to. |
| Jira.IssueField.scope.project.projectCategory.self | String | The URL of the project category. |
| Jira.IssueField.scope.project.projectCategory.id | String | The ID of the project category. |
| Jira.IssueField.scope.project.projectCategory.description | String | The name of the project category. |
| Jira.IssueField.scope.project.projectCategory.name | String | The description of the project category. |
| Jira.IssueField.scope.type | String | The type of scope. Valid values: PROJECT, TEMPLATE |
| Jira.IssueField.schema | Object | The data schema for the field. |
| Jira.IssueField.schema.type | String | The data type of the field. |
| Jira.IssueField.schema.items | String | When the data type is an array, the name of the field items within the array. |
| Jira.IssueField.schema.system | String | If the field is a system field, the name of the field. |
| Jira.IssueField.schema.custom | String | If the field is a custom field, the URI of the field. |
| Jira.IssueField.schema.customId | Number | If the field is a custom field, the custom ID of the field. |
| Jira.IssueField.schema.configuration | Object | If the field is a custom field, the configuration of the field. |
Command example
!jira-issue-list-fields page=1 page_size=2
Context Example
{
"Jira": {
"IssueField": [
{
"clauseNames": [],
"custom": true,
"id": "customfield_10070",
"key": "customfield_10070",
"name": "Responders",
"navigable": true,
"orderable": true,
"schema": {
"custom": "com.atlassian.jira.modules.servicemanagement.responders-entity:responders-entity-field-cftype",
"customId": 10070,
"items": "string",
"type": "array"
},
"searchable": true,
"untranslatedName": "Responders"
},
{
"clauseNames": [
"cf[10071]",
"Time to resolution"
],
"custom": true,
"id": "customfield_10071",
"key": "customfield_10071",
"name": "Time to resolution",
"navigable": true,
"orderable": true,
"schema": {
"custom": "com.atlassian.servicedesk:sd-sla-field",
"customId": 10071,
"type": "sd-servicelevelagreement"
},
"searchable": true,
"untranslatedName": "Time to resolution"
}
]
}
}
Human Readable Output
Issue Fields
Custom Id Name Schema Type Searchable true customfield_10070 Responders array true true customfield_10071 Time to resolution sd-servicelevelagreement true
jira-issue-to-backlog
Moves issues to backlog. If the issues supplied are NOT part of a board that supports sprints, then the board_id argument is required. At most 50 issues may be moved at once.
Scope: write:board-scope:jira-software
Base Command
jira-issue-to-backlog
Input
| Argument Name | Description | Required |
|---|---|---|
| issues | The issues to move to backlog. | Required |
| board_id | The board ID. Can only be used with a Jira Cloud instance. Run the command jira-board-list to retrieve the boards’ IDs. |
Optional |
| rank_before_issue | To rank the issues before the stated issue (supports issue key and ID). This argument can be used when supplying the board ID. | Optional |
| rank_after_issue | To rank the issues after the stated issue (supports issue key and ID). This argument can be used when supplying the board ID. | Optional |
Context Output
There is no context output for this command.
Command example
!jira-issue-to-backlog issues="TSTPRD-3,TSTPRD-6" rank_before_issue="TSTPRD-4" board_id=12
Human Readable Output
Issues were moved to Backlog successfully
jira-issue-to-board
Moves issues from backlog to board, the command does not work with boards with sprints. At most 50 issues may be moved at once. This command is only supported for Jira Cloud instances.
Scope: write:board-scope:jira-software
Base Command
jira-issue-to-board
Input
| Argument Name | Description | Required |
|---|---|---|
| issues | The issues to move to board. | Required |
| board_id | The board ID. | Required |
| rank_before_issue | To rank the issues before the stated issue (supports issue key and ID). | Optional |
| rank_after_issue | To rank the issues after the stated issue (supports issue key and ID). | Optional |
Context Output
There is no context output for this command.
Command example
!jira-issue-to-board issues="PROJECTKEY-35,PROJECTKEY-39" board_id=14
Human Readable Output
Issues were moved to Board successfully
jira-board-list
Get board data. If board_id is given, then only the board that corresponds to the board_id is returned, otherwise, the the command will return boards that match the project_key_id, type, or board_name arguments.
Scopes: read:board-scope:jira-software, read:issue-details:jira
Base Command
jira-board-list
Input
| Argument Name | Description | Required |
|---|---|---|
| board_name | The name of the board. | Optional |
| board_id | The board ID. | Optional |
| project_key_id | The project key or ID. | Optional |
| type | The type of the board. Allowed values are: scrum, kanban, simple. Possible values are: scrum, kanban, simple. | Optional |
| limit | The maximum number of results to return. This argument will be ignored if page or page_size arguments were given. Default value is 50. | Optional |
| page | The page number. Default value is 0. | Optional |
| page_size | The number of requested results per page. Default value is 50. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Jira.Board.id | Number | The ID of the board. |
| Jira.Board.self | String | The URL of the board. |
| Jira.Board.name | String | The name of the board. |
| Jira.Board.type | String | The type the board. |
| Jira.Board.admins | Object | The administrators of the board. |
| Jira.Board.admins.users | Object | The users who own the board. |
| Jira.Board.admins.users.self | String | The URL of the user. |
| Jira.Board.admins.users.displayName | String | The display name of the user. Depending on the user’s privacy setting, this may return an alternative value. |
| Jira.Board.admins.users.active | String | Whether the user is active. |
| Jira.Board.admins.users.accountId | String | The account ID of the user, which uniquely identifies the user across all Atlassian products. |
| Jira.Board.admins.users.avatarUrls | Object | The avatars of the user. |
| Jira.Board.admins.groups | Object | The groups who own the board. |
| Jira.Board.admins.groups.name | String | The name of the group. |
| Jira.Board.admins.groups.self | String | The URL of the group. |
| Jira.Board.location | Object | The container that the board is located in. |
| Jira.Board.location.projectId | Number | The project ID. |
| Jira.Board.location.userId | Number | The user ID. |
| Jira.Board.location.userAccountId | String | The user account ID. |
| Jira.Board.location.displayName | String | The display name of the project. |
| Jira.Board.location.projectName | String | The project name. |
| Jira.Board.location.projectKey | String | The project key. |
| Jira.Board.location.projectTypeKey | String | The type of the project. |
| Jira.Board.location.avatarURI | String | The avatar of the project. |
| Jira.Board.location.name | String | The name of the project. |
| Jira.Board.canEdit | String | Whether the board can be edited. |
| Jira.Board.isPrivate | String | Whether the board is private. |
| Jira.Board.favourite | String | Whether the board is selected as a favorite. |
Command example
!jira-board-list project_key_id=PROJECTKEY type=kanban
Context Example
{
"Jira": {
"Board": {
"id": 14,
"location": {
"avatarURI": "https://api.atlassian.com/ex/jira/1234/rest/api/2/universal_avatar/view/type/project/avatar/10402?size=small",
"displayName": "Company Snoozing App (PROJECTKEY)",
"name": "Company Snoozing App (PROJECTKEY)",
"projectId": 10022,
"projectKey": "PROJECTKEY",
"projectName": "Company Snoozing App",
"projectTypeKey": "software"
},
"name": "PROJECTKEY board",
"self": "https://api.atlassian.com/ex/jira/1234/rest/agile/1.0/board/14",
"type": "kanban"
}
}
}
Human Readable Output
Boards
ID Name Project ID Project Name Type 14 PROJECTKEY board 10022 Company Snoozing App kanban
jira-board-backlog-list
Get issues from the backlog of a specific board. For Jira OnPrem, the board must be of type scrum.
Scopes: read:board-scope:jira-software, read:issue-details:jira
Base Command
jira-board-backlog-list
Input
| Argument Name | Description | Required |
|---|---|---|
| board_id | The board ID. | Required |
| jql_query | A JQL query to filter the issues. | Optional |
| limit | The maximum number of results to return. This argument will be ignored if page or page_size arguments were given. Default value is 50. | Optional |
| page | The page number. Default value is 0. | Optional |
| page_size | The number of requested results per page. Default value is 50. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Jira.BoardBacklog.boardId | Number | The ID of the board. |
| Jira.BoardBacklog.Ticket.Id | Number | The ticket ID. |
| Jira.BoardBacklog.Ticket.Key | String | The ticket key. |
| Jira.BoardBacklog.Ticket.Assignee | String | The user assigned to the ticket. |
| Jira.BoardBacklog.Ticket.Creator | String | The user who created the ticket. |
| Jira.BoardBacklog.Ticket.Summary | String | The ticket summary. |
| Jira.BoardBacklog.Ticket.Status | String | The ticket status. |
| Jira.BoardBacklog.Ticket.Priority | String | The ticket priority. |
| Jira.BoardBacklog.Ticket.ProjectName | String | The ticket project name. |
| Jira.BoardBacklog.Ticket.DueDate | Date | The due date. |
| Jira.BoardBacklog.Ticket.Created | Date | The time the ticket was created. |
| Jira.BoardBacklog.Ticket.LastSeen | Date | The last time the ticket was viewed. |
| Jira.BoardBacklog.Ticket.LastUpdate | Date | The last time the ticket was updated. |
Command example
!jira-board-backlog-list board_id=14 jql_query="status!=done" limit=2
Context Example
{
"Jira": {
"BoardBacklog": {
"Ticket": [
{
"Assignee": "",
"Attachments": [],
"Components": [],
"Created": "2023-01-01T22:57:28.689+0200",
"Creator": "Example User(example@example.com)",
"Description": "",
"DueDate": "",
"Id": "21360",
"Key": "PROJECTKEY-1",
"Labels": [],
"LastSeen": "",
"LastUpdate": "2023-03-07T17:31:48.332+0200",
"Priority": "Medium",
"ProjectName": "Company Snoozing App",
"Status": "Backlog",
"Summary": "Start creating the company snoozing app"
},
{
"Assignee": "Example User()",
"Attachments": [],
"Components": [
"Integration"
],
"Created": "2023-01-30T16:42:47.476+0200",
"Creator": "Example User(example@example.com)",
"Description": "Complete this issue",
"DueDate": "2023-09-09",
"Id": "21424",
"Key": "PROJECTKEY-30",
"Labels": [
"collab",
"good_job"
],
"LastSeen": "",
"LastUpdate": "2023-03-13T21:09:47.898+0200",
"Priority": "Highest",
"ProjectName": "Company Snoozing App",
"Status": "Backlog",
"Summary": "Issue for demo"
}
],
"boardId": "14"
}
}
}
Human Readable Output
Backlog Issues
Assignee Created Creator Description DueDate Id IssueType Key Labels Priority ProjectName Reporter Status Summary TicketLink 2023-01-01T22:57:28.689+0200 Example User(example@example.com) 21360 Epic PROJECTKEY-1 Medium Company Snoozing App Example User(example@example.com) Backlog Start creating the company snoozing app https://api.atlassian.com/ex/jira/1234/rest/agile/1.0/issue/21360 Example User() 2023-01-30T16:42:47.476+0200 Example User(example@example.com) Complete this issue 2023-09-09 21424 Epic PROJECTKEY-30 collab,
good_jobHighest Company Snoozing App Example User() Backlog Issue for demo https://api.atlassian.com/ex/jira/1234/rest/agile/1.0/issue/21424
jira-board-issue-list
Get all issues from a specific board.
Scopes: read:board-scope:jira-software, read:issue-details:jira
Base Command
jira-board-issue-list
Input
| Argument Name | Description | Required |
|---|---|---|
| board_id | The board ID. | Required |
| jql_query | A JQL query to filter the issues. | Optional |
| limit | The maximum number of results to return. This argument will be ignored if page or page_size arguments were given. Default value is 50. | Optional |
| page | The page number. Default value is 0. | Optional |
| page_size | The number of requested results per page. Default value is 50. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Jira.BoardIssue.boardId | Number | The ID of the board. |
| Jira.BoardIssue.Ticket.Id | Number | The ticket ID. |
| Jira.BoardIssue.Ticket.Key | String | The ticket key. |
| Jira.BoardIssue.Ticket.Assignee | String | The user assigned to the ticket. |
| Jira.BoardIssue.Ticket.Creator | String | The user who created the ticket. |
| Jira.BoardIssue.Ticket.Summary | String | The ticket summary. |
| Jira.BoardIssue.Ticket.Status | String | The ticket status. |
| Jira.BoardIssue.Ticket.Priority | String | The ticket priority. |
| Jira.BoardIssue.Ticket.ProjectName | String | The ticket project name. |
| Jira.BoardIssue.Ticket.DueDate | Date | The due date. |
| Jira.BoardIssue.Ticket.Created | Date | The time the ticket was created. |
| Jira.BoardIssue.Ticket.LastSeen | Date | The last time the ticket was viewed. |
| Jira.BoardIssue.Ticket.LastUpdate | Date | The last time the ticket was updated. |
Command example
!jira-board-issue-list board_id=14 jql_query="status!=done" limit=2
Context Example
{
"Jira": {
"BoardIssue": {
"Ticket": [
{
"Assignee": "Example User()",
"Attachments": [],
"Components": [
"comp2",
"Integration",
"test_test"
],
"Created": "2023-01-30T16:35:50.482+0200",
"Creator": "Example User(example@example.com)",
"Description": "",
"DueDate": "2023-09-09",
"Id": "21423",
"Key": "PROJECTKEY-29",
"Labels": [
"Demisto",
"XSOAR",
"testnow"
],
"LastSeen": "2023-05-07T17:40:56.751+0300",
"LastUpdate": "2023-03-26T18:26:06.762+0300",
"Priority": "Low",
"ProjectName": "Company Snoozing App",
"Status": "Selected for Development",
"Summary": "Issue for demo"
},
{
"Assignee": "",
"Attachments": [
{
"created": "2023-01-22T16:43:29.878+0200",
"filename": "Screen Shot 2022-10-19 at 20.09.46.png",
"id": "16387",
"size": 450738
},
{
"created": "2023-02-05T21:11:43.429+0200",
"filename": "stam.png",
"id": "16399",
"size": 450738
}
],
"Components": [],
"Created": "2023-01-03T10:25:17.257+0200",
"Creator": "Example User(example@example.com)",
"Description": "This issue is for creating the home page.",
"DueDate": "",
"Id": "21361",
"Key": "PROJECTKEY-2",
"Labels": [
"Demisto",
"testnow"
],
"LastSeen": "",
"LastUpdate": "2023-02-26T18:24:04.172+0200",
"Priority": "Medium",
"ProjectName": "Company Snoozing App",
"Status": "Selected for Development",
"Summary": "Create Home Page (including the log in option)"
}
],
"boardId": "14"
}
}
}
Human Readable Output
Board Issues
Assignee Created Creator Description DueDate Id IssueType Key Labels Priority ProjectName Reporter Status Summary TicketLink Example User() 2023-01-30T16:35:50.482+0200 Example User(example@example.com) 2023-09-09 21423 Sub-task PROJECTKEY-29 Demisto,
XSOAR,
testnowLow Company Snoozing App Example User() Selected for Development Issue for demo https://api.atlassian.com/ex/jira/1234/rest/agile/1.0/issue/21423 2023-01-03T10:25:17.257+0200 Example User(example@example.com) This issue is for creating the home page. 21361 Story PROJECTKEY-2 Demisto,
testnowMedium Company Snoozing App Example User(example@example.com) Selected for Development Create Home Page (including the log in option) https://api.atlassian.com/ex/jira/1234/rest/agile/1.0/issue/21361
jira-board-sprint-list
Get all sprints of a specific board.
Scope: read:sprint:jira-software
Base Command
jira-board-sprint-list
Input
| Argument Name | Description | Required |
|---|---|---|
| board_id | The board ID. | Required |
| limit | The maximum number of results to return. This argument will be ignored if page or page_size arguments were given. Default value is 50. | Optional |
| page | The page number. Default value is 0. | Optional |
| page_size | The number of requested results per page. Default value is 50. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Jira.BoardSprint.boardId | String | The ID of the board. |
| Jira.BoardSprint.Sprints | Object | The sprints in the board. |
| Jira.BoardSprint.Sprints.id | Number | The ID of the sprint. |
| Jira.BoardSprint.Sprints.self | String | The URL of the sprint. |
| Jira.BoardSprint.Sprints.state | String | The state of the sprint. |
| Jira.BoardSprint.Sprints.name | String | The name of the sprint. |
| Jira.BoardSprint.Sprints.startDate | String | The starting date of the sprint. |
| Jira.BoardSprint.Sprints.endDate | String | The ending date of the sprint. |
| Jira.BoardSprint.Sprints.completeDate | String | The date the sprint was completed. |
| Jira.BoardSprint.Sprints.originBoardId | Number | The ID of the origin board. |
| Jira.BoardSprint.Sprints.goal | String | The goal of the sprint. |
Command example
!jira-board-sprint-list board_id=12
Context Example
{
"Jira": {
"BoardSprint": {
"Sprints": [
{
"endDate": "2023-02-27T15:12:00.000Z",
"goal": "",
"id": 4,
"name": "TSTPRD Sprint 1",
"originBoardId": 12,
"self": "https://api.atlassian.com/ex/jira/1234/rest/agile/1.0/sprint/4",
"startDate": "2023-02-13T15:12:39.565Z",
"state": "active"
},
{
"endDate": "2023-02-23T14:57:00.000Z",
"goal": "Goal",
"id": 5,
"name": "TSTPRD Sprint 2",
"originBoardId": 12,
"self": "https://api.atlassian.com/ex/jira/1234/rest/agile/1.0/sprint/5",
"startDate": "2023-02-07T14:57:00.000Z",
"state": "future"
},
{
"id": 6,
"name": "TSTPRD Sprint 3",
"originBoardId": 12,
"self": "https://api.atlassian.com/ex/jira/1234/rest/agile/1.0/sprint/6",
"state": "future"
}
],
"boardId": "12"
}
}
}
Human Readable Output
Sprints
End Date ID Name Start Date State 2023-02-27T15:12:00.000Z 4 TSTPRD Sprint 1 2023-02-13T15:12:39.565Z active 2023-02-23T14:57:00.000Z 5 TSTPRD Sprint 2 2023-02-07T14:57:00.000Z future 6 TSTPRD Sprint 3 future
jira-board-epic-list
Get all epics from a specific board
Scope: read:epic:jira-software
Base Command
jira-board-epic-list
Input
| Argument Name | Description | Required |
|---|---|---|
| board_id | The board ID. | Required |
| done | Filters results to epics that are either done or not done. This uses the Epic Status field, and not the Status field of the issue. Possible values are: false, true. Default is false. |
Optional |
| limit | The maximum number of results to return. This argument will be ignored if page or page_size arguments were given. Default value is 50. | Optional |
| page | The page number. Default value is 0. | Optional |
| page_size | The number of requested results per page. Default value is 50. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Jira.BoardEpic.boardId | Number | The ID of the board. |
| Jira.BoardEpic.Epics | Object | Holds the data of the epic issues. |
| Jira.BoardEpic.Epics.id | Number | The ID of the epic. |
| Jira.BoardEpic.Epics.key | String | The key of the epic. |
| Jira.BoardEpic.Epics.self | String | The URL of the epic. |
| Jira.BoardEpic.Epics.name | String | The name of the epic. |
| Jira.BoardEpic.Epics.summary | String | The summary of the epic. |
| Jira.BoardEpic.Epics.done | Boolean | Whether the epic has been completed or not. |
| Jira.BoardEpic.Epics.color | Object | Data about the color of the epic. |
| Jira.BoardEpic.Epics.color.key | String | The key of the color associated with the epic. |
Command example
!jira-board-epic-list board_id=14
Context Example
{
"Jira": {
"BoardEpic": {
"Epics": [
{
"color": {
"key": "color_4"
},
"done": false,
"id": 21360,
"key": "PROJECTKEY-1",
"name": "Create Company Snoozing App",
"self": "https://api.atlassian.com/ex/jira/1234/rest/agile/1.0/epic/21360",
"summary": "Start creating the company snoozing app"
},
{
"color": {
"key": "color_3"
},
"done": false,
"id": 21424,
"key": "PROJECTKEY-30",
"name": "New Epic",
"self": "https://api.atlassian.com/ex/jira/1234/rest/agile/1.0/epic/21424",
"summary": "Issue for demo"
}
],
"boardId": "14"
}
}
}
Human Readable Output
Epics
Done ID Key Name Summary false 21360 PROJECTKEY-1 Create Company Snoozing App Start creating the company snoozing app false 21424 PROJECTKEY-30 New Epic Issue for demo
jira-sprint-issue-list
Get all issues in a sprint.
Scopes: read:sprint:jira-software, read:issue-details:jira, read:jql:jira
Base Command
jira-sprint-issue-list
Input
| Argument Name | Description | Required |
|---|---|---|
| board_id | The board ID. | Optional |
| sprint_id | The sprint ID. | Required |
| jql_query | A JQL query to filter the issues. | Optional |
| limit | The maximum number of results to return. This argument will be ignored if page or page_size arguments were given. Default value is 50. | Optional |
| page | The page number. Default value is 0. | Optional |
| page_size | The number of requested results per page. Default value is 50. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Jira.SprintIssues.boardId | String | The ID of the board that the sprint belongs to. |
| Jira.SprintIssues.sprintId | String | The ID of the sprint. |
| Jira.SprintIssues.Ticket.Id | Number | The ticket ID. |
| Jira.SprintIssues.Ticket.Key | String | The ticket key. |
| Jira.SprintIssues.Ticket.Assignee | String | The user assigned to the ticket. |
| Jira.SprintIssues.Ticket.Creator | String | The user who created the ticket. |
| Jira.SprintIssues.Ticket.Summary | String | The ticket summary. |
| Jira.SprintIssues.Ticket.Status | String | The ticket status. |
| Jira.SprintIssues.Ticket.Priority | String | The ticket priority. |
| Jira.SprintIssues.Ticket.ProjectName | String | The ticket project name. |
| Jira.SprintIssues.Ticket.DueDate | Date | The due date. |
| Jira.SprintIssues.Ticket.Created | Date | The time the ticket was created. |
| Jira.SprintIssues.Ticket.LastSeen | Date | The last time the ticket was viewed. |
| Jira.SprintIssues.Ticket.LastUpdate | Date | The last time the ticket was updated. |
Command example
!jira-sprint-issue-list sprint_id=4
Context Example
{
"Jira": {
"SprintIssues": {
"Ticket": [
{
"Assignee": "",
"Attachments": [],
"Components": [],
"Created": "2023-02-02T17:59:21.527+0200",
"Creator": "Example User(example@example.com)",
"Description": "Please finish this ASAP.",
"DueDate": "",
"Id": "21430",
"Key": "TSTPRD-5",
"Labels": [],
"LastSeen": "2023-05-07T19:11:24.324+0300",
"LastUpdate": "2023-05-07T19:11:25.682+0300",
"Priority": "Medium",
"ProjectName": "TestProd",
"Status": "To Do",
"Summary": "Hire managers DO NOT DELETE OR MOVE"
},
{
"Assignee": "",
"Attachments": [],
"Components": [],
"Created": "2023-02-02T16:44:38.839+0200",
"Creator": "Example User(example@example.com)",
"Description": "",
"DueDate": "",
"Id": "21427",
"Key": "TSTPRD-2",
"Labels": [],
"LastSeen": "2023-05-07T19:37:42.323+0300",
"LastUpdate": "2023-05-07T19:11:33.460+0300",
"Priority": "Medium",
"ProjectName": "TestProd",
"Status": "To Do",
"Summary": "Build UI DO NOT DELETE OR MOVE"
},
{
"Assignee": "",
"Attachments": [],
"Components": [],
"Created": "2023-02-02T16:45:37.346+0200",
"Creator": "Example User(example@example.com)",
"Description": "",
"DueDate": "",
"Id": "21429",
"Key": "TSTPRD-4",
"Labels": [],
"LastSeen": "2023-05-04T20:45:40.938+0300",
"LastUpdate": "2023-05-04T21:03:30.876+0300",
"Priority": "Medium",
"ProjectName": "TestProd",
"Status": "To Do",
"Summary": "Build testing env"
}
],
"boardId": "12",
"sprintId": "4"
}
}
}
Human Readable Output
Sprint Issues in board 12
Assignee Created Creator Description DueDate Id IssueType Key Labels Priority ProjectName Reporter Status Summary TicketLink 2023-02-02T17:59:21.527+0200 Example User(example@example.com) Please finish this ASAP. 21430 Story TSTPRD-5 Medium TestProd Example User(example@example.com) To Do Hire managers DO NOT DELETE OR MOVE https://api.atlassian.com/ex/jira/1234/rest/agile/1.0/issue/21430 2023-02-02T16:44:38.839+0200 Example User(example@example.com) 21427 Task TSTPRD-2 Medium TestProd Example User(example@example.com) To Do Build UI DO NOT DELETE OR MOVE https://api.atlassian.com/ex/jira/1234/rest/agile/1.0/issue/21427 2023-02-02T16:45:37.346+0200 Example User(example@example.com) 21429 Task TSTPRD-4 Medium TestProd Example User(example@example.com) To Do Build testing env https://api.atlassian.com/ex/jira/1234/rest/agile/1.0/issue/21429
jira-sprint-issue-move
Moves issues to a sprint, for a given sprint ID. Issues can only be moved to open or active sprints. At most 50 issues may be moved at once.
Scope: write:sprint:jira-software
Base Command
jira-sprint-issue-move
Input
| Argument Name | Description | Required |
|---|---|---|
| issues | The issues to move to the sprint. | Required |
| sprint_id | The sprint ID. | Required |
| rank_before_issue | To rank the issues before the stated issue (supports issue key and ID). | Optional |
| rank_after_issue | To rank the issues after the stated issue (supports issue key and ID). | Optional |
Context Output
There is no context output for this command.
Command example
!jira-sprint-issue-move issues=TSTPRD-4 sprint_id=4
Human Readable Output
Issues were moved to the Sprint successfully
jira-user-group-search
Gets users and groups that match a query string.
Scope: read:jira-work
Base Command
jira-user-group-search
Input
| Argument Name | Description | Required |
|---|---|---|
| query | The search string to match against users and groups. For users, performs a case-insensitive substring match on display name and email address. For groups, performs a case-sensitive substring match on group name. Note: if a user has hidden their email address, an exact email match is required. | Required |
| limit | The maximum number of results to return. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Jira.UsersAndGroups.Users | Object | The Users that match the query string. |
| Jira.UsersAndGroups.Groups | Object | The Groups that match the query string. |
Command example
!jira-user-group-search query="query"
Context Example
{
"groups": {
"groups": [
{
"groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
"html": "<b>j</b>dog-developers",
"name": "jdog-developers"
},
{
"groupId": "6e87dc72-4f1f-421f-9382-2fee8b652487",
"html": "<b>j</b>uvenal-bot",
"name": "juvenal-bot"
}
],
"header": "Showing 20 of 25 matching groups",
"total": 25
},
"users": {
"header": "Showing 20 of 25 matching users",
"total": 25,
"users": [
{
"accountId": "5b10a2844c20165700ede21g",
"accountType": "atlassian",
"avatarUrl": "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
"displayName": "Mia Krystof",
"html": "<strong>Mi</strong>a Krystof - <strong>mi</strong>a@example.com (<strong>mi</strong>a)",
"key": "mia",
"name": "mia"
}
]
}
}
Human Readable Output
Users
Account ID Display Name Account Type 5b10a2844c20165700ede21g Mia Krystof atlassian
Groups
Group ID Name 276f955c-63d7-42c8-9520-92d01dca0625 jdog-developers 6e87dc72-4f1f-421f-9382-2fee8b652487 juvenal-bot
jira-epic-issue-list
Get all issues that belong to an epic (Child Issues).
Scopes: read:epic:jira-software, read:issue-details:jira, read:jql:jira
Base Command
jira-epic-issue-list
Input
| Argument Name | Description | Required |
|---|---|---|
| epic_key | The key of the epic. (The epic ID or key is required). | Optional |
| epic_id | The ID of the epic. (The epic ID or key is required). | Optional |
| jql_query | A JQL query to filter the issues. | Optional |
| limit | The maximum number of results to return. This argument will be ignored if page or page_size arguments were given. Default value is 50. | Optional |
| page | The page number. Default value is 0. | Optional |
| page_size | The number of requested results per page. Default value is 50. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Jira.EpicIssues.boardId | String | The ID of the board that holds the issues. |
| Jira.EpicIssues.epicId | String | The ID of the epic that holds the issues. |
| Jira.EpicIssues.key | String | The key of the epic. |
| Jira.EpicIssues.Ticket.Id | Number | The ticket ID. |
| Jira.EpicIssues.Ticket.Key | String | The ticket key. |
| Jira.EpicIssues.Ticket.Assignee | String | The user assigned to the ticket. |
| Jira.EpicIssues.Ticket.Creator | String | The user who created the ticket. |
| Jira.EpicIssues.Ticket.Summary | String | The ticket summary. |
| Jira.EpicIssues.Ticket.Status | String | The ticket status. |
| Jira.EpicIssues.Ticket.Priority | String | The ticket priority. |
| Jira.EpicIssues.Ticket.ProjectName | String | The ticket project name. |
| Jira.EpicIssues.Ticket.DueDate | Date | The due date. |
| Jira.EpicIssues.Ticket.Created | Date | The time the ticket was created. |
| Jira.EpicIssues.Ticket.LastSeen | Date | The last time the ticket was viewed. |
| Jira.EpicIssues.Ticket.LastUpdate | Date | The last time the ticket was updated. |
Command example
!jira-epic-issue-list epic_key=PROJECTKEY-1 jql_query="status!=done"
Context Example
{
"Jira": {
"EpicIssues": {
"Ticket": [
{
"Assignee": "",
"Attachments": [
{
"created": "2023-01-22T16:43:29.878+0200",
"filename": "Screen Shot 2022-10-19 at 20.09.46.png",
"id": "16387",
"size": 450738
},
{
"created": "2023-02-05T21:11:43.429+0200",
"filename": "stam.png",
"id": "16399",
"size": 450738
}
],
"Components": [],
"Created": "2023-01-03T10:25:17.257+0200",
"Creator": "Example User(example@example.com)",
"Description": "This issue is for creating the home page.",
"DueDate": "",
"Id": "21361",
"Key": "PROJECTKEY-2",
"Labels": [
"Demisto",
"testnow"
],
"LastSeen": "",
"LastUpdate": "2023-02-26T18:24:04.172+0200",
"Priority": "Medium",
"ProjectName": "Company Snoozing App",
"Status": "Selected for Development",
"Summary": "Create Home Page (including the log in option)"
},
{
"Assignee": "",
"Attachments": [
{
"created": "2023-03-08T21:04:02.570+0200",
"filename": "DemistoContent-InstallContentEnvironment-160822-0023-68.pdf",
"id": "16401",
"size": 17815
},
{
"created": "2023-03-08T21:03:37.418+0200",
"filename": "Screen_Shot_2022-10-19_at_20.09.46 (2).png",
"id": "16400",
"size": 450738
}
],
"Components": [
"comp2",
"Integration"
],
"Created": "2023-03-07T17:31:48.225+0200",
"Creator": "Example User(example@example.com)",
"Description": "Dummy child description",
"DueDate": "",
"Id": "21496",
"Key": "PROJECTKEY-39",
"Labels": [
"Demisto",
"testnow"
],
"LastSeen": "",
"LastUpdate": "2023-05-04T21:46:22.076+0300",
"Priority": "Medium",
"ProjectName": "Company Snoozing App",
"Status": "Selected for Development",
"Summary": "Dummy child issue - delete later"
}
],
"epicId": "21360"
}
}
}
Human Readable Output
Child Issues in epic PROJECTKEY-1
Assignee Created Creator Description DueDate Id IssueType Key Labels Priority ProjectName Reporter Status Summary TicketLink 2023-01-03T10:25:17.257+0200 Example User(example@example.com) This issue is for creating the home page. 21361 Story PROJECTKEY-2 Demisto,
testnowMedium Company Snoozing App Example User(example@example.com) Selected for Development Create Home Page (including the log in option) https://api.atlassian.com/ex/jira/1234/rest/agile/1.0/issue/21361 2023-03-07T17:31:48.225+0200 Example User(example@example.com) Dummy child description 21496 Task PROJECTKEY-39 Demisto,
testnowMedium Company Snoozing App Example User(example@example.com) Selected for Development Dummy child issue - delete later https://api.atlassian.com/ex/jira/1234/rest/agile/1.0/issue/21496
jira-issue-link-type-get
Returns a list of all issue link types.
Scope: read:jira-work
Base Command
jira-issue-link-type-get
Input
There are no input arguments for this command.
Context Output
| Path | Type | Description |
|---|---|---|
| Jira.IssueLinkType | Object | The issue link type bean. |
| Jira.IssueLinkType.id | String | The ID of the issue link type. |
| Jira.IssueLinkType.inward | String | The description of the issue link type inward link. |
| Jira.IssueLinkType.name | String | The name of the issue link type. |
| Jira.IssueLinkType.outward | String | The description of the issue link type outward link. |
| Jira.IssueLinkType.self | String | The URL of the issue link type. |
Command example
#### Context Example
```json
{
"Jira": {
"IssueLinkType": [
{
"id": "10000",
"inward": "is blocked by",
"name": "Blocks",
"outward": "blocks",
"self": "https://api.atlassian.com/ex/jira/1234/rest/api/3/issueLinkType/10000"
},
{
"id": "10001",
"inward": "is cloned by",
"name": "Cloners",
"outward": "clones",
"self": "https://api.atlassian.com/ex/jira/1234/rest/api/3/issueLinkType/10001"
},
{
"id": "10002",
"inward": "is duplicated by",
"name": "Duplicate",
"outward": "duplicates",
"self": "https://api.atlassian.com/ex/jira/1234/rest/api/3/issueLinkType/10002"
},
{
"id": "10202",
"inward": "is reviewed by",
"name": "Post-Incident Reviews",
"outward": "reviews",
"self": "https://api.atlassian.com/ex/jira/1234/rest/api/3/issueLinkType/10202"
},
{
"id": "10201",
"inward": "is caused by",
"name": "Problem/Incident",
"outward": "causes",
"self": "https://api.atlassian.com/ex/jira/1234/rest/api/3/issueLinkType/10201"
},
{
"id": "10003",
"inward": "relates to",
"name": "Relates",
"outward": "relates to",
"self": "https://api.atlassian.com/ex/jira/1234/rest/api/3/issueLinkType/10003"
}
]
}
}
Human Readable Output
Issue Link Types
ID Inward Name Outward 10000 is blocked by Blocks blocks 10001 is cloned by Cloners clones 10002 is duplicated by Duplicate duplicates 10202 is reviewed by Post-Incident Reviews reviews 10201 is caused by Problem/Incident causes 10003 relates to Relates relates to
jira-issue-to-issue-link
Use this command to create a link between two issues.
Scope: write:jira-work
Base Command
jira-issue-to-issue-link
Input
| Argument Name | Description | Required |
|---|---|---|
| outward_issue | The key of the outward issue. | Required |
| inward_issue | The key of the inward issue. | Required |
| link_type | The name of the link to apply. Use jira-issue-link-type-get to see available links. |
Required |
| comment | A comment to add to the inward issue. | Optional |
Context Output
There is no context output for this command.
Command example
!jira-issue-to-issue-link inward_issue=PROJECTKEY-31 outward_issue=XSOAR-19 link_type="Post-Incident Reviews" comment="Dummy Link"
Human Readable Output
Issue link created successfully
fetch-incidents
Dummy fetch
Base Command
fetch-incidents
Input
There are no input arguments for this command.
Context Output
There is no context output for this command.
get-remote-data
Get remote data from a remote incident. This method does not update the current incident, and should be used for debugging purposes only.
Base Command
get-remote-data
Input
| Argument Name | Description | Required |
|---|---|---|
| id | The remote incident ID. | Required |
| lastUpdate | The UTC timestamp in seconds of the last update. The incident is only updated if it was modified after the last update time. Default is 0. | Optional |
Context Output
There is no context output for this command.
get-mapping-fields
Returns the list of fields to map in outgoing mirroring. This command is only used for debugging purposes.
Base Command
get-mapping-fields
Input
There are no input arguments for this command.
Context Output
There is no context output for this command.
get-modified-remote-data
Get the list of incidents that were modified since the last update time. This method is used for debugging purposes. The get-modified-remote-data command is used as part of the Mirroring feature that was introduced in Cortex XSOAR version 6.1.
Base Command
get-modified-remote-data
Input
| Argument Name | Description | Required |
|---|---|---|
| lastUpdate | Date string representing the local time. The incident is only returned if it was modified after the last update time. | Optional |
Context Output
There is no context output for this command.
update-remote-system
Updates the remote incident with local incident changes. This method is only used for debugging purposes and will not update the current incident.
Base Command
update-remote-system
Input
There are no input arguments for this command.
Context Output
There is no context output for this command.
jira-get-user-info
Retrieves information about a specified Jira user. For on-prem instances, you should use the user’s key and username to retrieve their details. For Cloud instances, user’s account_id is required. If no identifier is supplied, information for the user the API credentials belong to is returned.
Base Command
jira-get-user-info
Input
| Argument Name | Description | Required |
|---|---|---|
| key | The user’s key (On-prem only). | Optional |
| username | The user’s username (On-prem only). | Optional |
| account_id | The user’s account ID (Cloud only). | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Jira.Users.Key | Unknown | The user’s key or ID. |
| Jira.Users.Name | Unknown | Name of the user. |
| Jira.Users.Email | Unknown | User’s email address. |
| Jira.Users.Display Name | Unknown | Display name for the user. |
| Jira.Users.Active | Unknown | If the user is active or not. |
| Jira.Users.Deleted | Unknown | If the user is deleted or not. |
| Jira.Users.Timezone | Unknown | Timezone setting for the user. |
| Jira.Users.Locale | Unknown | Locale setting for the user. |
| Jira.Users.AccountID | Unknown | The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5. Required in requests. |
| Jira.Users.AccountType | Unknown | The user account type. Can take the following values: atlassian, app, customer. |
Command example
!jira-get-user-info key=JIRAUSER10000
Context Example
{
"Active": true,
"Deleted": false,
"Display Name": "John Doe",
"Email": "johndoe@example.com",
"Key": "JIRAUSER10000",
"Locale": "en_US",
"Name": "johndoe",
"Timezone": "America/Detroit"
}
jira-issue-get-forms
Fetches questions and answers for forms tied to a Jira issue. This command requires Jira Service Desk, the ProForma plugin and an API user with Service Desk Team or higher permissions on the Jira project the forms are being pulled from.
Base Command
jira-issue-get-forms
Input
| Argument Name | Description | Required |
|---|---|---|
| issue_id | The issue ID. | Required |
Context Output
| Path | Type | Description |
|---|---|---|
| JiraForms.ID | Unknown | The ID of the form. |
| JiraForms.Issue | Unknown | Issue the form belongs to. |
| JiraForms.Questions | Unknown | Questions for the form. |
Command example
!jira-issue-get-forms issue_id=TES-2
Context Example
{
"ID": 1,
"Issue": "TES-2",
"Name": "8/9/2024 New Form",
"Questions": [
{
"Answer": {
"choices": [
{
"id": "26",
"label": "I have read and agree to the terms and conditions."
}
]
},
"Description": "",
"ID": "8",
"Key": "q_terms",
"Label": "",
"Type": "cm"
},
{
"Answer": {},
"Description": "",
"ID": "4",
"Key": "q_email",
"Label": "Email",
"Type": "te"
},
{
"Answer": {},
"Description": "",
"ID": "5",
"Key": "q_request_for",
"Label": "Name of person needing building access",
"Type": "tl"
},
{
"Answer": {},
"Description": "",
"ID": "6",
"Key": "q_description",
"Label": "Request description",
"Type": "pg"
},
{
"Answer": {
"text": "John"
},
"Description": "",
"ID": "1",
"Key": "q_name",
"Label": "Name",
"Type": "ts"
},
{
"Answer": {
"text": "555-555-1212"
},
"Description": "",
"ID": "2",
"Key": "q_phone",
"Label": "Phone",
"Type": "ts"
},
{
"Answer": {},
"Description": "",
"ID": "7",
"Key": "q_reason",
"Label": "Reason for access",
"Type": "pg"
},
{
"Answer": {},
"Description": "",
"ID": "3",
"Key": "q_job_title",
"Label": "Job title",
"Type": "ts"
}
]
}
Incident Mirroring
You can enable incident mirroring between Cortex XSOAR incidents and Atlassian Jira V3 corresponding events (available from Cortex XSOAR version 6.0.0).
To set up the mirroring:
- Enable Fetching incidents in your instance configuration.
-
In the Mirroring Direction integration parameter, select in which direction the incidents should be mirrored:
Option Description None Turns off incident mirroring. Incoming Any changes in Atlassian Jira V3 events (mirroring incoming fields) will be reflected in Cortex XSOAR incidents. Outgoing Any changes in Cortex XSOAR incidents will be reflected in Atlassian Jira V3 events (outgoing mirrored fields). Incoming And Outgoing Changes in Cortex XSOAR incidents and Atlassian Jira V3 events will be reflected in both directions. - Optional: Check the Close Mirrored XSOAR Incident integration parameter to close the Cortex XSOAR incident when the corresponding event is closed in Atlassian Jira V3.
When mirroring incidents, you can make changes in Jira, which will be reflected in Cortex XSOAR, or vice versa.
You can also attach files from either of the systems, which will then be available in the other system.
Newly fetched incidents will be mirrored in the chosen direction. However, this selection does not affect existing incidents.
In order for the mirroring to work properly, please keep the timezone of the Jira profile public.
Important Note: To ensure the mirroring works as expected, mappers are required, both for incoming and outgoing, to map the expected fields in Cortex XSOAR and Atlassian Jira V3.
9 Incident Fields have been added/updated to enhance the mirroring experience
- dbotMirrorTags - Determines the tags that you need to add in Cortex XSOAR for entries to be pushed to Jira, and entries coming from Jira (Attachments or comments entries)
- You can set the tags for incoming entries in the instance configuration, using Attachment Entry Tag from Jira, and Comment Entry Tag from Jira.
- You can set the tags for outgoing entries in the instance configuration, using Attachment Entry Tag to Jira, and Comment Entry Tag to Jira.
- Jira Issue Type - Shows the type of the Jira issue.
- JiraV3 Status - Shows the status of the Jira issue. You can press on it in the JiraV3 Incident Layout to see the available statuses that you can transition into, and press on one of them to change the status of the issue.

- Jira Estimate - Shows the estimate of the Jira issue. The field can also be edited and mirrored out. Use the format 2w 4d 6h 45m (w - weeks, d - days, h - hours, m - minutes). Please add the
Time Trackingfield to the screen in your Jira projects in order for this field to work properly. - Jira Component - Shows the components of the Jira issue. The field can also be edited and mirrored out.
- Source Created By - Shows the display name, and email of the user who created the Jira issue.
- Jira Subtask - Shows the subtasks of the Jira issue in the form of a table.
- Jira Project - Shows the project name where the Jira issue resides in.
- Last Update Time - Shows the last updated time of the Jira issue.
- Jira Comment - Shows the comments of the Jira issue in the form of a table.
Modify the incoming mapper
- Navigate to Settings -> Objects Setup -> Classification and Mapping and click classifier-mapper-incoming-JiraV3.
- Under the Incident Type dropdown, select JiraV3 Incident.
- Change the mapping according to your needs.
- Save your changes.
Modify the outgoing mapper
- Under Classification and Mapping, click classifier-mapper-outgoing-Jira.
- Under Select Instance dropdown, select the instance name you want to work with.
The left side of the screen shows the Jira fields to map and the right side of the
screen shows the Cortex XSOAR fields by which you are mapping.
*Note: If Select Instance dropdown is empty, go to the integration’s settings and under Incident Type select JiraV3 Incident and try again. - Under Schema Type, select JiraV3 Incident. The Schema Type represents the Jira entity that
you are mapping to. In our example it is an incident, but it can also be any other kind of ticket that
Jira supports.

- Under the Incident Type dropdown, select JiraV3 Incident.
- On the right side of the screen, under Incident, select the incident based on which you want to
match. - Change the mapping according to your needs.
- Save your changes.
Configure the following integration parameters in order to customize the mirroring feature
- Mirror Direction:
- Mirror outgoing incidents: If enabled, any incident data changed in existing fetched incidents will be reflected in the remote Jira server.
- Mirror incoming incidents: If enabled, any incident data changed in the remote Jira server will be reflected in existing fetched incidents.
- Fetch incidents: Should be enabled in order to mirror in, and out new incidents.
- Incident type: In order to mirror out changes, and mirror in incoming changes, provide an incident type that is associated with a layout containing the fields you want to mirror. You can use ‘JiraV3 Incident’, which already has a built-in layout, and functionality fit for the
JiraV3 Incidenttype. - Attachment Entry Tag from Jira: Choose a tag to add to an attachment entry when mirroring in an attachment from Jira.
- Attachment Entry Tag to Jira: Choose a tag to add to an entry in order to mirror it as an attachment in Jira.
- Comment Entry Tag from Jira: Choose a tag to add to a note entry when mirroring in comments from Jira.
- Comment Entry Tag to Jira: Choose a tag to add to an entry in order to mirror it as a comment in Jira.
- Fetch Comments: Fetch comments for Jira ticket.
- Fetch Attachments: Fetch attachments for Jira ticket.
- Close Mirrored XSOAR Incident: Marking the Jira issue as resolved will be mirrored in Cortex XSOAR, and will close the corresponding incident. Please make sure the
Resolvedfield in your Jira instance is configured in order for this to work properly, if not, it will rely on if the status of the issue is changed toDone.
Simple Mirroring flow
- Create an incident in Jira. For the purpose of this use case, it can be a very simple incident. In Cortex XSOAR, the new ticket will be ingested in approximately one minute
- Add a note to the incident, which can be done using the
Add Commentsection in theJiraV3 Incident Layout. In the example below, we have written a comment from Cortex XSOAR to Jira.

- Add the Comment Entry Tag to Jira tag that you’ve configured in the instance before. The default is: “comment tag”.
- Add a file to the incident’s War Room.
- Click Actions -> Tags and add the Attachment Entry Tag to Jira tag that you’ve configured in the instance before. The default is: “attachment tag”.

- Go back to Incident Info and locate a field you’ve configured, or was already configured in the outgoing mapper that is displayed in the incident’s layout. Change its value and click ‘V’ in the ‘V/X’ menu to save the changes.

- Navigate back to the issue in Jira, and within approximately one minute, the changes will be reflected there as well.
- Change a Jira field you’ve configured in the incoming mapper.
- Go back to Cortex XSOAR and within approximately one minute, the changes will be reflected there as well.
Simple Comment and Attachment Mirroring flow
Mirror out Comment
- Press on the
Press to add comment to Jira issuebutton in theAdd Commentsection. - Add a comment and the tag that was configured in the Comment Entry Tag to Jira parameter.
- Once the comment is mirrored out to Jira, it will include the sentence Mirrored from Cortex XSOAR, to differentiate between comments mirrored from XSOAR, and normal comments.

Mirror in Comment
- Add a comment inside the Jira issue.
- The newly added comment will be mirrored in to XSOAR as a note, with the addition of the sentence Jira Author: {Author name}, to know the author of the comment, and tagged with the tag configured in Comment Entry Tag from Jira parameter.

Mirror out Attachment
- Add an attachment to the incident, and add the tag that was configured in the Attachment Entry Tag to Jira parameter.
- Once the attachment is reflected in Jira, the name of the file will have _mirrored_from_xsoar in it, to differentiate between attachments mirrored from XSOAR, and normal attachments.

Mirror in Attachment
- Once an attachment is mirrored in from Jira into XSOAR, the attachment will be tagged with the tag configured in Attahcment Entry Tag from Jira parameter.

Notes
- The final
source of truthof the incident for Cortex XSOAR are the values in Cortex XSOAR.
Meaning, if you change the severity in Cortex XSOAR and then change it back in Jira, the final value that will be presented is the one in Cortex XSOAR.
You can see a list of these fields for each incident under “Context Data” -> “dbotDirtyFields”. - If you wish to mirror in and out Jira’s custom fields, please see the Mirror In And Out Custom Fields section below.
- If you wish to change the status of a JiraV3 Incident using the available transitions, please see the Change Ticket’s Status Using Transitions section below.
- If you wish to change the status of a JiraV3 Incident using the available statuses, please see the Change Ticket’s Status section below.
Mirror In And Out Custom Fields
Add a new custom field and add it to the incident type's layout
Add a new custom field and add it to the incident type's layout:
1.Create a new incident field:
- Go to Settings -> Object Setup -> Incident Fields -> New Field
- Choose a field type. For example, for a label, you might want to use “Tag” as a type.
- Add a short description in the
Tooltipbox (not mandatory). - Click on
Attributes:
- UncheckAdd to incident typescheckbox.
- ForAdd to associated type, select the incident type you want to work with, preferably chooseJiraV3 Incident.

2.Add the new incident field you've just created to the layout associated with the integration's incident type. In this example, the layout is “JiraV3 Incident Layout”:

Add the new field to the incoming mapper
- Configure the
Atlassian Jira V3integration, and test the connection of the instance as explained in the Authentication. - Make sure that:
- Under “Incident type” you've selected the incident type you want to work with and it is the same one you've selected once you created the new field. In our example:
JiraV3 Incident. - The option
Fetch Incidentsis checked. - You have filled the respective parameters for the fetch to work, as explained in Fetch Incidents
- The
Mirror Directionis set to Incoming And Outgoing.
Finally, clickDone, and wait for new JiraV3 Incidents to be pulled:
- Under “Incident type” you've selected the incident type you want to work with and it is the same one you've selected once you created the new field. In our example:
-
Once you've finished the setup stage, go to the
Mapper (incoming)field and select the mapper you want to work with by clicking on Select: - Click on the button next to the
Mapper (incoming)field in order to edit the selected mapper. It will open theIncident Incoming Mapping Editor.
1.For “Incident Type”, please provide the incident type you've selected in the integration settings.
2.In “Select Instance” choose the name of your instance. You can find it in the integration settings underName.
Once done, You'll see on the right side of the screen a JiraV3 Incident.- Note: If you want to work with a specific incident, in
Get dataselect the option:Upload JSONand provide the wanted incident as JSON.
In order to get the incident as JSON, you can see the section: How to get an incident as JSON below.
On the left side, You'll see all JiraV3 Incident fields.
3.Use “Search Cortex XSOAR field…” in order to find your new incident field by searching its name.
4.Once found, click on “Choose data path” and map it to the custom jira field:
a.Find the jira field you want to map to this incident field on the right side, and click on its value.
b.Then you will see the path you've selected under your new added field:

*Note: In this example: customfield_10097 is the Jira field ID we want to map. You can find IDs of custom fields for your field in Jira using this guide:Click Here
*Note: You can also type the path manually.
- Note: If you want to work with a specific incident, in
- Click “Save Version”.
Add the new field to the outgoing mapper
- Got to the configured
Atlassian Jira V3instance’s settings. - Go to the
Mapper (outgoing)field and select the mapper you want to work with by clicking on “Select” (the same process we did with the incoming mapper).
3. - Click on the button next to the
Mapper (outgoing)field in order to edit the selected mapper. It will open the “Incident Outgoing Mapping Editor”. - In “Select Instance” choose the name of your instance. You can find it in the integration settings under
Name. - Select one incident to work with by specifying it in the
Incidentlist.
1.On the right side you are now able to see your selected incident.
2.On the left side you are able to see all the Jira fields you can map in the system. - Search for the Jira field you want to map on the left side. In this example, we want to map customfield_10097

- Map the Jira field to the incident field you've created by clicking on
Select incident fieldand type its name.
*The name of the incident will not include spaces, underscores, capital letters, etc. for example: Jira Transitions will be transformed to “jiratransitions” once saved in the incident's context (you can see the name you need to select by fetching incidents after configuring the mapper in. In the “Incident” field select one of the new incidents that the edited mapper in has worked on. On the right side you should be able to see the new added field and the name you need to provide). - Click the “Save Version” button.
How to get an incident as JSON
- Use the !jira-get-issue command with the raw-response=true parameter. For example:
!jira-get-issue issue_id=VIK-183 raw-response=true - Click on
view full JSON in a new tab. - Click on
Download as a file. - Open the downloaded file and put its content inside a list, resulting in a list which contains only one item, the downloaded JSON.
- When selecting
Upload JSONforGet dataas mentioned above, you can upload the file using theUpload JSONoption.
Change Ticket’s Status Using Transitions or Statuses
- Make sure you’re using the ‘JiraV3 Incident Layout’ for displaying the incident which status you want to change.
The reason this is required is that this layout is structured in a way that the script-JiraChangeTransition, script-JiraListTransition, JiraListStatus, and JiraChangeStatus scripts can work, which is crucial when you want to change the status of the issue. - In order to change an incident status, open the incident you would like to update.
- Under Incident Info search for the
Jira Transitions, orJira Statusfield. - Click on “Select” and choose the name of the transition or status to apply.


- Click on the ‘V’ option in the ‘V/X’ menu.
- You can see the new status under ‘Jira Status’.
- Go to Jira, and you will be able to see the new status there as well.
Breaking changes from the previous version of this integration - Atlassian Jira V3
The following sections list the changes in this version.
Commands
The following commands were removed in this version
-
jira-get-specific-field - This command was removed, and its functionality is implemented using the fields argument in the jira-get-issue command.
-
jira-append-to-field - This command was removed, and its functionality is implemented using the action argument when supplying it the value
appendin the jira-edit-issue command.
Arguments
The following arguments were removed in this version
In the jira-get-id-by-attribute command:
- is_jirav2api - The command does not require this argument anymore.
The behavior of the following arguments were changed
In the jira-create-issue command:
- issueJson - This argument will override the other arguments supplied to the command.
In the jira-edit-issue command:
- issueJson - This argument will override the other arguments supplied to the command.
In the jira-get-issue command:
- get_attachments - Supplying this argument with the value
truewill return the attachments found in the specified issue asEntry Info File, and not asFile.
jira-create-metadata-issue-types-list
Returns a page of issue type metadata for a specified project.
Base Command
jira-create-metadata-issue-types-list
Input
| Argument Name | Description | Required |
|---|---|---|
| project_id_or_key | The ID or key of the project. | Required |
| start_at | The index of the first item to return in a page of results (page offset). Default is 0. | Optional |
| max_results | The maximum number of items to return per page. Between 0 and 200. Default is 50. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Jira.IssueType.AvatarID | Number | The ID of the issue type’s avatar. |
| Jira.IssueType.Description | String | The description of the issue type. |
| Jira.IssueType.EntityID | String | Unique ID for next-gen projects. |
| Jira.IssueType.Expand | String | Expand options that include additional issue type metadata details in the response. |
| Jira.IssueType.IconURL | String | The URL of the issue type’s avatar. |
| Jira.IssueType.ID | String | The ID of the issue type. |
| Jira.IssueType.Name | String | The name of the issue type. |
| Jira.IssueType.Self | String | The URL of these issue type details. |
| Jira.IssueType.Subtask | Boolean | Whether this issue type is used to create subtasks. |
| Jira.IssueType.Scope | Object | Details of the next-gen projects the issue type is available in. |
| Jira.IssueType.Scope.type | String | The type of scope. Valid values: PROJECT, TEMPLATE. |
| Jira.IssueType.Scope.project | Object | The project the item has scope in. |
| Jira.IssueType.Scope.project.self | String | The URL of the project details. |
| Jira.IssueType.Scope.project.id | String | The ID of the project. |
| Jira.IssueType.Scope.project.key | String | The key of the project. |
| Jira.IssueType.Scope.project.name | String | The name of the project. |
| Jira.IssueType.Scope.project.projectTypeKey | String | The project type of the project. Valid values: software, service_desk, business. |
| Jira.IssueType.Scope.project.simplified | Boolean | Whether or not the project is simplified. |
| Jira.IssueType.Scope.project.avatarUrls | Object | The URLs of the project’s avatars. |
| Jira.IssueType.Scope.project.projectCategory | Object | The category the project belongs to. |
| Jira.IssueType.Scope.project.projectCategory.self | String | The URL of the project category. |
| Jira.IssueType.Scope.project.projectCategory.id | String | The ID of the project category. |
| Jira.IssueType.Scope.project.projectCategory.description | String | The name of the project category. |
| Jira.IssueType.Scope.project.projectCategory.name | String | The description of the project category. |
jira-create-metadata-field-list
Returns a page of field metadata for a specified project and issue type.
Base Command
jira-create-metadata-field-list
Input
| Argument Name | Description | Required |
|---|---|---|
| project_id_or_key | The ID or key of the project. | Required |
| issue_type_id | The issue type ID. | Required |
| start_at | The index of the first item to return in a page of results (page offset). Default is 0. | Optional |
| max_results | The maximum number of items to return per page. Between 0 and 200. Default is 50. | Optional |
Context Output
| Path | Type | Description |
|---|---|---|
| Jira.IssueField.AllowedValues | Array | The list of values allowed in the field. |
| Jira.IssueField.AutoCompleteUrl | String | The URL that can be used to automatically complete the field. |
| Jira.IssueField.Configuration | Object | The configuration properties. |
| Jira.IssueField.DefaultValue | String | The default value of the field. |
| Jira.IssueField.FieldID | String | The field ID. |
| Jira.IssueField.HasDefaultValue | Boolean | Whether the field has a default value. |
| Jira.IssueField.Key | String | The key of the field. |
| Jira.IssueField.Name | String | The name of the field. |
| Jira.IssueField.Operations | Array | The list of operations that can be performed on the field. |
| Jira.IssueField.Required | Boolean | Whether the field is required. |
| Jira.IssueField.Schema | Object | The data type for the field. |
| Jira.IssueField.Schema.type | String | The data type of the field. |
| Jira.IssueField.Schema.items | String | When the data type is an array, the name of the field items within the array. |
| Jira.IssueField.Schema.system | String | If the field is a system field, the name of the field. |
| Jira.IssueField.Schema.custom | String | If the field is a custom field, the URI of the field. |
| Jira.IssueField.Schema.customId | Number | If the field is a custom field, the custom ID of the field. |
| Jira.IssueField.Schema.configuration | Object | If the field is a custom field, the configuration of the field. |
jira-reset-timezone-cache
Clears the cached Jira user timezone used for fetching incidents and mirroring from the internal cache. Use if the timezone settings tied to the chosen authentication method were changed.
Base Command
jira-reset-timezone-cache
Input
There are no input arguments for this command.
Context Output
There is no context output for this command.
Command example
!jira-reset-timezone-cache
Human Readable Output
The Jira user timezone was successfully cleared from the cache
Configuration parameters
server_url— Server URL (required)basic_credentials— User namecloud_id— Cloud IDcallback_url— Callback URLcredentials— Client IDpat_credential— Personal Access Tokenfetch_query— Query (in JQL) for fetching incidentsissue_field_to_fetch_from— Issue Field to fetch byid_offset— Issue index to start fetching incidents fromfirst_fetch— Time range for initial data fetchinsecure— Trust any certificate (not secure)proxy— Use system proxy settingsisFetch— Fetch incidentsincidentType— Incident typeincidentFetchInterval— Incidents Fetch Intervalclose_incident— Close Mirrored XSOAR Incidentmirror_direction— Mirroring Directionattachment_tag_to_jira— Attachment Entry Tag to Jiraattachment_tag_from_jira— Attachment Entry Tag from Jiracomment_tag_to_jira— Comment Entry Tag to Jiracomment_tag_from_jira— Comment Entry Tag from Jirafetch_comments— Fetch commentsfetch_attachments— Fetch attachmentsmax_fetch— Max incidents per fetch
Commands (46)
-
get-mapping-fieldsReturns the list of fields to map in outgoing mirroring. This command is only used for debugging purposes.
-
get-modified-remote-dataGet the list of incidents that were modified since the last update time. This method is used for debugging purposes. The get-modified-remote-data command is used as part of the Mirroring feature that was introduced in Cortex XSOAR version 6.1.
-
get-remote-dataGet remote data from a remote incident. This method does not update the current incident, and should be used for debugging purposes only.
-
get-remote-data-previewGet remote data from a remote incident. This method does not update the current incident, and should be used for debugging purposes only.
-
jira-board-backlog-listGet issues from the backlog of a specific board. For Jira OnPrem, the board must be of type scrum.
-
jira-board-epic-listGet all epics from a specific board.
-
jira-board-issue-listGet all issues from a specific board.
-
jira-board-listGet board data. If board_id is given, then only the board that corresponds to the board_id is returned, otherwise, the the command will return boards that match the project_key_id, type, or board_name arguments.
-
jira-board-sprint-listGet all sprints of a specific board.
-
jira-create-issueCreates a new issue in Jira.
-
jira-create-issue-quick-actionCreates a new issue in Jira.
-
jira-create-metadata-field-listReturns a page of field metadata for a specified project and issue type.
-
jira-create-metadata-issue-types-listReturns a page of issue type metadata for a specified project.
-
jira-delete-issueDeletes an issue in Jira. Issue's sub-tasks will also be deleted if there are any.
-
jira-edit-issueModifies an issue in Jira. If the status or transition fields are given, then the other supplied fields should appear on the transition screen.
-
jira-epic-issue-listGet all issues that belong to an epic (Child Issues).
-
jira-get-commentsReturns the comments added to a ticket.
-
jira-get-id-by-attributeGets the account ID for a given user attribute.
-
jira-get-id-offsetReturns the ID offset, which is the ID of the first issue that was created in the current Jira instance, or the ID of the first issue with respect to the given query argument if given. You can use its result as the initial ID when fetching incidents by the issue id field.
-
jira-get-issueFetches an issue from Jira.
-
jira-get-specific-fieldGets specific fields from a Jira issue and adds it to context dynamically.
-
jira-get-user-infoRetrieves information about a specified Jira user. For on-prem instances, you should use the user's key and username to retrieve their details. For Cloud instances, user's `account_id` is required. If no identifier is supplied, information for the user the API credentials belong to is returned.
-
jira-issue-add-commentAdds a new comment to an existing Jira issue.
-
jira-issue-add-linkCreates (or updates) an issue link.
-
jira-issue-assignAssigns an assignee to an existing issue.
-
jira-issue-delete-commentDelete a comment from an issue.
-
jira-issue-delete-fileDelete an attachment from an issue.
-
jira-issue-edit-commentEdit a comment that is part of an issue.
-
jira-issue-get-attachmentDownload attachments for a specific issue (Will download a file to War Room).
-
jira-issue-get-formsFetches questions and answers for forms tied to a Jira issue. This command requires Jira Service Desk, the ProForma plugin and an API user with `Service Desk Team` or higher permissions on the Jira project the forms are being pulled from.
-
jira-issue-link-type-getReturns a list of all issue link types.
-
jira-issue-list-fieldsThis command returns the issue fields, both system and custom fields.
-
jira-issue-queryQueries Jira issues.
-
jira-issue-to-backlogMoves issues to backlog. If the issues supplied are NOT part of a board that supports sprints, then the board_id argument is required. At most 50 issues may be moved at once.
-
jira-issue-to-boardMoves issues from backlog to board, the command does not work with boards with sprints. At most 50 issues may be moved at once. This command is only supported for Jira Cloud instances.
-
jira-issue-to-issue-linkUse this command to create a link between two issues.
-
jira-issue-upload-fileUploads a file attachment to an issue.
-
jira-list-transitionsLists all possible transitions for a given ticket in its current status.
-
jira-oauth-completeUse this command to complete the authorization process. After copying the authorization code found in the query parameter `code` of the callback URL, paste the value in the command as an argument to finish the process.
-
jira-oauth-startUse this command to start the authorization process. In order to authorize the instance, first run the command, and complete the process in the URL that is returned. You will then be redirected to the callback URL where you will copy the authorization code found in the query parameter `code`, and paste that value in the command `!jira-ouath-complete` as an argument to finish the process.
-
jira-oauth-testUse this command to test the connectivity of the Jira instance.
-
jira-reset-timezone-cacheClears the cached Jira user timezone used for fetching incidents and mirroring from the internal cache. Use if the timezone settings tied to the chosen authentication method were changed.
-
jira-sprint-issue-listGet all issues in a sprint.
-
jira-sprint-issue-moveMoves issues to a sprint, for a given sprint ID. Issues can only be moved to open or active sprints. At most 50 issues may be moved at once.
-
jira-user-group-searchSearches for users and groups in Jira that match the query string.
-
update-remote-systemUpdates the remote incident with local incident changes. This method is only used for debugging purposes and will not update the current incident.
commonfields: id: Jira V3 version: -1 sectionorder: - Connect - Collect name: Jira V3 display: Atlassian Jira v3 category: Case Management provider: Atlassian description: Use the Jira integration to manage issues, create Cortex XSOAR incidents from Jira projects, and mirror issues to existing issue incidents in Cortex XSOAR. The integration now supports both OnPrem, and Cloud instances. configuration: - name: server_url display: Server URL defaultvalue: https://api.atlassian.com/ex/jira type: 0 required: true additionalinfo: The base URL. For a cloud instance, use the default URL as configured. For an OnPrem instance, use your respective domain. section: Connect - display: User name name: basic_credentials displaypassword: API key required: false type: 9 section: Connect - name: cloud_id display: Cloud ID type: 0 additionalinfo: This field is used to configure the Jira Cloud. required: false section: Connect - name: callback_url display: Callback URL type: 0 required: false section: Connect - display: Client ID type: 9 name: credentials displaypassword: Client Secret required: false section: Connect - display: Personal Access Token displaypassword: Personal Access Token name: pat_credential type: 9 required: false hiddenusername: true additionalinfo: Use the Personal Access Token for API Authentication. section: Connect - defaultvalue: status!=done display: Query (in JQL) for fetching incidents additionalinfo: The field selected in the "Issue Field to fetch by" can't be used in the query. name: fetch_query type: 0 required: false section: Collect - defaultvalue: id display: Issue Field to fetch by name: issue_field_to_fetch_from options: - id - created date - updated date type: 15 additionalinfo: "This is how the field (e.g, created date) is applied to the query: created >= {created date in last run} ORDER BY created ASC" required: false section: Collect - display: Issue index to start fetching incidents from additionalinfo: This parameter is dismissed if "id" is not chosen in "Issue Field to Fetch by". This will only fetch Jira issues that are part of the same project as the issue that is configured in this parameter. If this value is 0, then the fetch mechanism will automatically start the fetch from the smallest ID with respect to the fetch query. name: id_offset defaultvalue: '0' type: 0 required: false section: Collect - defaultvalue: 3 days display: Time range for initial data fetch additionalinfo: "The time range to consider for the initial data fetch in format: <number> <unit>. This parameter is only relevant when selecting to fetch by created time, or updated time. Default is 3 days. For example: 2 minutes, 2 hours, 2 days, 2 months, 2 years" name: first_fetch type: 0 required: false section: Collect - display: Trust any certificate (not secure) name: insecure type: 8 defaultvalue: 'false' required: false section: Connect advanced: true - defaultvalue: 'false' display: Use system proxy settings name: proxy type: 8 required: false section: Connect advanced: true - display: Fetch incidents name: isFetch type: 8 defaultvalue: 'false' required: false section: Collect supportedModules: - agentix - xsiam - display: Incident type name: incidentType type: 13 required: false section: Collect supportedModules: - agentix - xsiam - display: Incidents Fetch Interval name: incidentFetchInterval defaultvalue: '1' required: false type: 19 section: Collect advanced: true supportedModules: - agentix - xsiam - defaultvalue: 'false' additionalinfo: When selected, marking the Jira issue as resolved will be mirrored in Cortex XSOAR, and will close the corresponding incident. Please make sure the `Resolved` field in your Jira instance is configured in order for this to work properly, if not, it will rely on if the status of the issue is changed to `Done`. display: Close Mirrored XSOAR Incident name: close_incident type: 8 required: false hidden: - marketplacev2 - platform section: Collect - defaultvalue: None display: Mirroring Direction name: mirror_direction options: - None - Incoming - Outgoing - Incoming And Outgoing type: 15 required: false hidden: - marketplacev2 - platform section: Collect - additionalinfo: Add this tag to an entry to mirror it as an attachment to Jira. defaultvalue: attachment tag display: Attachment Entry Tag to Jira name: attachment_tag_to_jira type: 0 required: false hidden: - marketplacev2 - platform section: Collect advanced: true - additionalinfo: Add this tag to an entry to mirror it as an attachment from Jira. defaultvalue: attachment tag from Jira display: Attachment Entry Tag from Jira name: attachment_tag_from_jira type: 0 required: false hidden: - marketplacev2 - platform section: Collect advanced: true - additionalinfo: Add this tag to an entry to mirror it as a comment in Jira. defaultvalue: comment tag display: Comment Entry Tag to Jira name: comment_tag_to_jira type: 0 required: false hidden: - marketplacev2 - platform section: Collect advanced: true - additionalinfo: Add this tag to an entry to mirror it as a comment from Jira. defaultvalue: comment tag from Jira display: Comment Entry Tag from Jira name: comment_tag_from_jira type: 0 required: false hidden: - marketplacev2 - platform section: Collect advanced: true - additionalinfo: Fetch comments for a Jira ticket. display: Fetch comments name: fetch_comments defaultvalue: 'false' type: 8 required: false section: Collect - additionalinfo: Fetch attachments for a Jira ticket. display: Fetch attachments name: fetch_attachments defaultvalue: 'false' type: 8 required: false section: Collect - defaultvalue: '50' display: Max incidents per fetch name: max_fetch additionalinfo: "The maximum allowed value is dictated by the Jira property 'jira.search.views.default.max'. If you specify a value that is higher than this number, your search results will be truncated. Default value is 50" type: 0 required: false section: Collect supportedModules: - agentix - xsiam script: commands: - arguments: - description: A CSV list of the attachments' ID, which can be retrieved using the `jira-get-issue` command. isArray: true name: attachment_id required: true description: Download attachments for a specific issue (Will download a file to War Room). name: jira-issue-get-attachment outputs: - contextPath: InfoFile.Name description: The file name. type: String - contextPath: InfoFile.EntryID description: The EntryID of the file in the War Room. type: String - contextPath: InfoFile.Size description: The size of the file (in bytes). type: Number - contextPath: InfoFile.Type description: The file type, as determined by libmagic (same as displayed in file entries). type: String - contextPath: InfoFile.Extension description: The file extension. type: String - contextPath: InfoFile.Info description: Basic information of the file. type: String - arguments: - description: |- The search string to match against users and groups. For users, performs a case-insensitive substring match on display name and email address. For groups, performs a case-sensitive substring match on group name. Note: if a user has hidden their email address, an exact email match is required. type: String name: query required: true - description: The maximum number of results to return. type: Number name: limit defaultValue: '50' description: Searches for users and groups in Jira that match the query string. name: jira-user-group-search outputs: - contextPath: Jira.UsersAndGroups.Users description: The users that match the query string. type: Object - contextPath: Jira.UsersAndGroups.Groups description: The groups that match the query string. type: Object - arguments: - description: Deprecated. Please use issue_id or issue_key. name: issueIdOrKey hidden: true - description: The issue ID (Issue ID or key is required). name: issue_id - description: The issue key (Issue ID or key is required). name: issue_key description: Deletes an issue in Jira. Issue's sub-tasks will also be deleted if there are any. name: jira-delete-issue - arguments: - description: The issue ID (Issue ID or key is required). name: issue_id - description: The issue key (Issue ID or key is required). name: issue_key - description: Deprecated. Please use issue_id or issue_key. name: issueId hidden: true - description: Deprecated. Please use fields. name: field hidden: true - description: The fields to retrieve from the issue. For example field="customfield_164,labels". isArray: true name: fields description: |- Gets specific fields from a Jira issue and adds it to context dynamically. name: jira-get-specific-field outputs: - contextPath: Ticket.Id description: The ticket ID. type: String - contextPath: Ticket.Key description: The ticket key. type: String - contextPath: Ticket.Assignee description: The user assigned to the ticket. type: String - contextPath: Ticket.Creator description: The user who created the ticket. type: String - contextPath: Ticket.Summary description: The ticket summary. type: String - contextPath: Ticket.Status description: The ticket status. type: String - arguments: - description: Deprecated. Please use global_id. name: globalId hidden: true - description: If the global ID is provided and a remote issue link exists with that global ID, the remote issue link is updated. name: global_id - description: 'The object relationship to the issue, for example: causes.' name: relationship - description: The URL link. name: url required: true - description: The link title. name: title required: true - description: The link summary. name: summary - description: Deprecated. Please use issue_id or issue_key. name: issueId hidden: true - description: The issue ID (Issue ID or key is required). name: issue_id - description: The issue key (Issue ID or key is required). name: issue_key - description: The application type of the linked remote application. For example "com.atlassian.confluence". name: application_type - description: Deprecated. Please use application_type. name: applicationType hidden: true - description: The application name of the linked remote application. For example "My Confluence Instance". name: application_name - description: Deprecated. Please use application_name. name: applicationName hidden: true description: Creates (or updates) an issue link. name: jira-issue-add-link - arguments: - description: The user attribute value. For Jira Cloud, this value can be the display name, or email address, and for Jira OnPrem, this value can be the display name, email address, or username. name: attribute required: true - defaultValue: '50' description: The maximum number of users to fetch when searching for a matching user (default is 50). The maximum allowed value is dictated by the Jira property 'jira.search.views.default.max'. If you specify a value greater than this number, your search results are truncated. name: max_results description: Gets the account ID for a given user attribute. name: jira-get-id-by-attribute outputs: - contextPath: Jira.User.Attribute description: The user's attribute. type: String - contextPath: Jira.User.AccountId description: The user's account ID. type: String - arguments: - default: true description: The JQL query string. name: query required: true - description: The token for the next page of the query (if such exists). Not supported for Jira On-prem. name: next_page_token - description: The index (integer) of the first issue to return (0-based). For Jira Cloud - Please use next_page_token. name: start_at - description: Deprecated. Please use start_at. name: startAt hidden: true - description: The maximum number of users to fetch when searching for a matching user (default is 50). The maximum allowed value is dictated by the Jira property 'jira.search.views.default.max'. If you specify a value greater than this number, your search results are truncated. name: max_results - description: Deprecated. Please use max_results. name: maxResults hidden: true - description: Displays the headers in human readable format. name: headers - description: "A CSV list of fields to return (Using the name or ID of the fields) to context data. Supplying `all` will return all the issue fields (which will include nested values), except for the comments, which can be retrieved using the !jira-get-comments command." isArray: true name: fields - description: Deprecated. Please use fields. name: extraFields hidden: true description: Queries Jira issues. name: jira-issue-query outputs: - contextPath: Jira.Query.nextPageToken description: A token for fetching the next page of the query if such exists. type: String - contextPath: Ticket.Id description: The ticket ID. type: String - contextPath: Ticket.Key description: The ticket key. type: String - contextPath: Ticket.Assignee description: The user assigned to the ticket. type: String - contextPath: Ticket.Creator description: The user who created the ticket. type: String - contextPath: Ticket.Summary description: The ticket summary. type: String - contextPath: Ticket.Description description: The ticket's description. type: String - contextPath: Ticket.RawDescription description: The ticket's raw description. type: String - contextPath: Ticket.Labels description: The ticket's labels. type: Array - contextPath: Ticket.Components description: The ticket's components. type: Array - contextPath: Ticket.Status description: The ticket status. type: String - contextPath: Ticket.Priority description: The ticket priority. type: String - contextPath: Ticket.ProjectName description: The ticket project name. type: String - contextPath: Ticket.DueDate description: The due date. type: Date - contextPath: Ticket.Created description: The time the ticket was created. type: Date - contextPath: Ticket.LastSeen description: The last time the ticket was viewed. type: Date - contextPath: Ticket.LastUpdate description: The last time the ticket was updated. type: Date - arguments: - description: The query that will be used to retrieve the first issue ID in it. name: query description: Returns the ID offset, which is the ID of the first issue that was created in the current Jira instance, or the ID of the first issue with respect to the given query argument if given. You can use its result as the initial ID when fetching incidents by the issue id field. name: jira-get-id-offset outputs: - contextPath: Ticket.idOffSet description: The ID offset. type: String - arguments: - description: Deprecated. Please use issue_id or issue_key. name: issueId hidden: true - description: The issue ID (Issue ID or key is required). name: issue_id - description: The issue key (Issue ID or key is required). name: issue_key - description: The comment body. name: comment required: true - description: 'The roles that can view the comment, for example: Administrators.' name: visibility - auto: PREDEFINED defaultValue: "false" description: Whether to make this an internal comment. name: internal_comment predefined: - "false" - "true" description: Adds a new comment to an existing Jira issue. name: jira-issue-add-comment - arguments: - description: Deprecated. Please use issue_id or issue_key. name: issueId hidden: true - description: The issue ID (Issue ID or key is required). name: issue_id - description: The issue key (Issue ID or key is required). name: issue_key - description: The entry ID to upload. name: upload required: true - description: The attachment name to be displayed in Jira (overrides the original file name). name: attachment_name - description: Deprecated. Please use attachment_name. name: attachmentName hidden: true description: Uploads a file attachment to an issue. name: jira-issue-upload-file - arguments: - description: Deprecated. Please use issue_id or issue_key. name: issueId hidden: true - description: The issue ID (Issue ID or key is required). name: issue_id - description: The issue key (Issue ID or key is required). name: issue_key description: Lists all possible transitions for a given ticket in its current status. name: jira-list-transitions outputs: - contextPath: Ticket.Id description: The ticket ID. type: String - contextPath: Ticket.Key description: The ticket key. type: String - contextPath: Ticket.Transitions description: An object that holds data about all possible transitions. type: Object - contextPath: Ticket.Transitions.transitions description: An array of all possible transitions. type: Array - contextPath: Ticket.Transitions.ticketId description: The ticket ID. type: String - arguments: - description: The parent issue key (if you're editing a sub-task). This argument is only relevant for Jira Cloud. name: parent_issue_key - description: The parent issue ID (if you're editing a sub-task). This argument is only relevant for Jira Cloud. name: parent_issue_id - auto: PREDEFINED description: "Whether to append or rewrite the values. Only issue fields of type string or array support appending. If the field is of type string, then the new appended value will be: 'old value, new value', where they will be separated by a comma." name: action defaultValue: 'rewrite' predefined: - 'append' - 'rewrite' - description: Deprecated. Please use issue_id or issue_key. name: issueId hidden: true - description: The issue ID (Issue ID or key is required). name: issue_id - description: The issue key (Issue ID or key is required). name: issue_key - description: 'The issue object (in JSON format). This argument is for advanced users, as when utilizing this argument, one cannot use other arguments (it will raise an error) except the `issue_id` `issue_key` `action` `transition` and `status` and must input all required arguments into the issue_json. In addition, when issue_json is used, it is not possible to use the project name but only the project key. For example {"fields":{"customfield_10037":"field_value", "summary": "some summary", "project": {"key": "<project_key>"}}}. For more information about this argument, see https://developer.atlassian.com/server/jira/platform/jira-rest-api-example-create-issue-7897248/.' name: issue_json - description: Deprecated. Please use issue_json. name: issueJson hidden: true - description: The issue summary. name: summary - description: The issue description. name: description - description: A CSV list of labels. isArray: true name: labels - description: 'The issue priority, for example: High, Medium.' name: priority - description: The due date for the issue (in the format yyyy-mm-dd). name: due_date - description: Deprecated. Please use due_date. name: dueDate hidden: true - description: The name of the assignee. Relevant for Jira Server only. If you are using Jira Cloud, provide the assignee_id argument instead. Use the jira-get-id-by-attribute command to get the user's name. name: assignee - description: The account ID of the assignee. Relevant for Jira Cloud only. Use the jira-get-id-by-attribute command to get the user's account ID. name: assignee_id - description: The issue status (Either choose the issue status or transition, but not both). name: status - description: The issue transition (Either choose the issue status or transition, but not both). name: transition - description: A text field for describing the environment in which the issue occurred. For example environment="IE9 on Windows 7". name: environment - description: The security level name of the issue. For example security="Anyone". name: security - description: A CSV list of components. For example components="component1,component2". When using a Jira OnPrem instance, or using the action append, the entered components must already exist. isArray: true name: components description: Modifies an issue in Jira. If the status or transition fields are given, then the other supplied fields should appear on the transition screen. name: jira-edit-issue outputs: - contextPath: Ticket.Id description: The ticket ID. type: String - contextPath: Ticket.Key description: The ticket key. type: String - contextPath: Ticket.Assignee description: The user assigned to the ticket. type: String - contextPath: Ticket.Creator description: The user who created the ticket. type: String - contextPath: Ticket.Summary description: The ticket summary. type: String - contextPath: Ticket.Description description: The ticket's project description. type: String - contextPath: Ticket.RawDescription description: The ticket's project raw description. type: String - contextPath: Ticket.Labels description: The ticket's project labels. type: Array - contextPath: Ticket.Status description: The ticket status. type: String - contextPath: Ticket.Priority description: The ticket priority. type: String - contextPath: Ticket.ProjectName description: The ticket project name. type: String - contextPath: Ticket.DueDate description: The due date. type: Date - contextPath: Ticket.Created description: The time the ticket was created. type: Date - contextPath: Ticket.LastSeen description: The last time the ticket was viewed. type: Date - contextPath: Ticket.LastUpdate description: The last time the ticket was updated. type: Date - arguments: - description: Deprecated. Please use issue_id or issue_key. hidden: true name: issueId - description: The issue ID (Issue ID or key is required). name: issue_id - description: The issue key (Issue ID or key is required). name: issue_key - description: The name of the assignee. Relevant for Jira Server only. If you are using Jira Cloud, provide the assignee_id argument instead. Use the jira-get-id-by-attribute command to get the user's name. name: assignee - description: The account ID of the assignee. Relevant for Jira Cloud only. Use the jira-get-id-by-attribute command to get the user's account ID. name: assignee_id description: Assigns an assignee to an existing issue. name: jira-issue-assign outputs: - contextPath: Ticket.Id description: The ticket ID. type: String - contextPath: Ticket.Key description: The ticket key. type: String - contextPath: Ticket.Assignee description: The user assigned to the ticket. type: String - contextPath: Ticket.Creator description: The user who created the ticket. type: String - contextPath: Ticket.Summary description: The ticket summary. type: String - contextPath: Ticket.Description description: The ticket's project description. type: String - contextPath: Ticket.RawDescription description: The ticket's project raw description. type: String - contextPath: Ticket.Labels description: The ticket's project labels. type: Array - contextPath: Ticket.Status description: The ticket status. type: String - contextPath: Ticket.Priority description: The ticket priority. type: String - contextPath: Ticket.ProjectName description: The ticket project name. type: String - contextPath: Ticket.DueDate description: The due date. type: Date - contextPath: Ticket.Created description: The time the ticket was created. type: Date - contextPath: Ticket.LastSeen description: The last time the ticket was viewed. type: Date - contextPath: Ticket.LastUpdate description: The last time the ticket was updated. type: Date - arguments: - description: 'The issue object (in JSON format). This argument is for advanced users, as when utilizing this argument, one cannot use other arguments and must input all required arguments into the issue_json. In addition, when issue_json is used, it is not possible to use the project name but only the project key. For example {"fields":{"customfield_10037":"field_value", "summary": "some summary", "project": {"key": "<project_key>"}}}. For more information about this argument, see https://developer.atlassian.com/server/jira/platform/jira-rest-api-example-create-issue-7897248/.' name: issue_json - description: Deprecated. Please use issue_json. name: issueJson hidden: true - description: The summary of the issue (Summary value is required, either from the "summary" argument, or from the "issue_json" argument). name: summary required: false - description: The project key with which to associate the issue (Project Key or name is required). name: project_key - description: Deprecated. Please use project_key. name: projectKey hidden: true - description: 'Selects an issue type by name, for example: "Problem". (Issue type name or id is required).' name: issue_type_name - description: Deprecated. Please use issue_type_name. name: issueTypeName hidden: true - description: Selects an issue type by its numeric ID (Issue type name or id is required). name: issue_type_id - description: Deprecated. Please use issue_type_id. name: issueTypeId hidden: true - description: The project name with which to associate the issue (Project Key or name is required). name: project_name - description: Deprecated. Please use project_name. name: projectName hidden: true - description: A description of the issue. name: description - description: A CSV list of labels. isArray: true name: labels - description: 'The priority of the issue, for example: High, Medium.' name: priority - description: The due date for the issue (in the format yyyy-mm-dd). name: due_date - description: Deprecated. Please use due_date. name: dueDate hidden: true - description: The name of the assignee. Relevant for Jira Server only. If you are using Jira Cloud, provide the assignee_id argument instead. Use the jira-get-id-by-attribute command to get the user's name. name: assignee - description: The account ID of the assignee. Relevant for Jira Cloud only. Use the jira-get-id-by-attribute command to get the user's account ID. name: assignee_id - description: The account ID of the reporter. Relevant for Jira Cloud only. Use the jira-get-id-by-attribute command to get the user's account ID. name: reporter_id - description: The name of the of the reporter. Relevant for Jira Server only. Please use reporter_id for Jira Cloud. Use the jira-get-id-by-attribute command to get the user's name. name: reporter - description: The parent issue key (if you're creating a sub-task). name: parent_issue_key - description: Deprecated. Please use parent_issue_key. name: parentIssueKey hidden: true - description: The parent issue ID (if you're creating a sub-task). name: parent_issue_id - description: Deprecated. Please use parent_issue_id. name: parentIssueId hidden: true - description: A text field for describing the environment in which the issue occurred. For example environment="IE9 on Windows 7". name: environment - description: The security level of the issue. For example security="Anyone". name: security - description: The component names of the issue. For example components="component1,component2". When using a Jira OnPrem instance, the entered components must already exist. isArray: true name: components description: Creates a new issue in Jira. name: jira-create-issue outputs: - contextPath: Ticket.Id description: The ticket ID. type: String - contextPath: Ticket.Key description: The ticket key. type: String - arguments: - description: "A CSV list of fields to return (Using the name or ID of the fields) to context data. Supplying `all` will return all the issue fields (which will include nested values), except for the comments, which can be retrieved using the !jira-get-comments command." isArray: true name: fields - description: Deprecated. Please use issue_id or issue_key. name: issueId hidden: true - description: The issue ID (Issue ID or key is required). name: issue_id - description: The issue key (Issue ID or key is required). name: issue_key - description: Displays the headers in human readable format. name: headers - auto: PREDEFINED defaultValue: 'false' description: If "true", retrieves the issue attachments and downloads the file to the War Room. name: get_attachments predefined: - 'true' - 'false' - description: Deprecated. Please use get_attachments. name: getAttachments predefined: - 'true' - 'false' hidden: true auto: PREDEFINED - auto: PREDEFINED defaultValue: 'false' description: If "true", expands the issue links (the linked issues and subtasks). name: expand_links predefined: - 'true' - 'false' - description: Deprecated. Please use expand_links. name: expandLinks predefined: - 'true' - 'false' hidden: true auto: PREDEFINED description: Fetches an issue from Jira. name: jira-get-issue outputs: - contextPath: Ticket.Id description: The ticket ID. type: String - contextPath: Ticket.Key description: The ticket key. type: String - contextPath: Ticket.Assignee description: The user assigned to the ticket, in the form `Username(User email address)`. type: String - contextPath: Ticket.Creator description: The user who created the ticket. type: String - contextPath: Ticket.Summary description: The ticket summary. type: String - contextPath: Ticket.Status description: The ticket status. type: String - contextPath: Ticket.Labels description: The ticket's labels. type: Array - contextPath: Ticket.Components description: The ticket's components. type: Array - contextPath: Ticket.Priority description: The ticket priority. type: String - contextPath: Ticket.ProjectName description: The ticket project name. type: String - contextPath: Ticket.DueDate description: The due date. type: Date - contextPath: Ticket.Created description: The time the ticket was created. type: Date - contextPath: Ticket.LastSeen description: The last time the ticket was viewed. type: Date - contextPath: Ticket.LastUpdate description: The last time the ticket was updated. type: Date - contextPath: Ticket.Attachments.created description: The created time of the attachment. type: Date - contextPath: Ticket.Attachments.filename description: The file name of the attachment. type: String - contextPath: Ticket.Attachments.id description: The id of the attachment. type: String - contextPath: Ticket.Attachments.size description: The size (in bytes) of the attachment. type: Number - contextPath: InfoFile.Name description: The file name. type: String - contextPath: InfoFile.EntryID description: The ID for locating the file in the War Room. type: String - contextPath: InfoFile.Size description: The size of the file (in bytes). type: Number - contextPath: InfoFile.Type description: The file type, as determined by libmagic (same as displayed in file entries). type: String - contextPath: InfoFile.Extension description: The file extension. type: String - contextPath: InfoFile.Info description: Basic information about the file. type: String - contextPath: Ticket.Description description: The ticket's description. type: String - contextPath: Ticket.RawDescription description: The ticket's raw description. type: String - arguments: - description: The maximum number of results to return. Default is 50 and maximum is 5000. name: limit defaultValue: '50' - description: Deprecated. Please use issue_id or issue_key. name: issueId hidden: true - description: The issue ID (Issue ID or key is required). name: issue_id - description: The issue key (Issue ID or key is required). name: issue_key description: Returns the comments added to a ticket. name: jira-get-comments outputs: - contextPath: Ticket.Id description: The ID of the ticket. type: String - contextPath: Ticket.Key description: The ticket key. type: String - contextPath: Ticket.Comment.Id description: The ID of the comment. type: String - contextPath: Ticket.Comment.Comment description: The text of the comment. type: String - contextPath: Ticket.Comment.Created description: The comment creation date. type: Date - contextPath: Ticket.Comment.Updated description: The comment updated date. type: Date - contextPath: Ticket.Comment.User description: The user that created the comment. type: String - contextPath: Ticket.Comment.UpdateUser description: The user that updated the comment. type: String - arguments: - description: The authorization code retrieved from the callback URL according to the documentation. name: code required: true description: "Use this command to complete the authorization process. After copying the authorization code found in the query parameter `code` of the callback URL, paste the value in the command as an argument to finish the process." name: jira-oauth-complete - description: "Use this command to start the authorization process. In order to authorize the instance, first run the command, and complete the process in the URL that is returned. You will then be redirected to the callback URL where you will copy the authorization code found in the query parameter `code`, and paste that value in the command `!jira-ouath-complete` as an argument to finish the process." name: jira-oauth-start arguments: [] - description: Use this command to test the connectivity of the Jira instance. name: jira-oauth-test arguments: [] - arguments: - description: The comment ID. name: comment_id required: true - description: The issue ID (Issue ID or key is required). name: issue_id - description: The issue key (Issue ID or key is required). name: issue_key description: Delete a comment from an issue. name: jira-issue-delete-comment - arguments: - description: The attachment ID. In order to see the attachment ID please use the jira-get-issue command. name: attachment_id required: true description: Delete an attachment from an issue. name: jira-issue-delete-file - arguments: - description: The issue ID (Issue ID or key is required). name: issue_id - description: The issue key (Issue ID or key is required). name: issue_key - description: The comment ID. name: comment_id required: true - description: The content of the comment to modify. name: comment required: true - description: 'The roles that can view the comment, for example: Administrators.' name: visibility description: Edit a comment that is part of an issue. name: jira-issue-edit-comment outputs: - contextPath: Ticket.Id description: The ID of the ticket. type: String - contextPath: Ticket.Comment.Id description: The ID of the comment. type: String - contextPath: Ticket.Comment.Comment description: The text of the comment. type: String - contextPath: Ticket.Comment.Created description: The issue creation date. type: String - contextPath: Ticket.Comment.User description: The user that created the comment. type: String - arguments: - description: The maximum number of results to return. This argument will be ignored if page or page_size arguments were given. Default value is 50. name: limit - description: The page number. Default value is 0. name: page - description: The number of requested results per page. Default value is 50. name: page_size description: This command returns the issue fields, both system and custom fields. name: jira-issue-list-fields outputs: - contextPath: Jira.IssueField.id description: The ID of the field. type: String - contextPath: Jira.IssueField.key description: The key of the field. type: String - contextPath: Jira.IssueField.name description: The name of the field. type: String - contextPath: Jira.IssueField.custom description: Whether the field is a custom field. type: String - contextPath: Jira.IssueField.orderable description: Whether the content of the field can be used to order lists. type: String - contextPath: Jira.IssueField.navigable description: Whether the field can be used as a column on the issue navigator. type: String - contextPath: Jira.IssueField.searchable description: Whether the content of the field can be searched. type: String - contextPath: Jira.IssueField.clauseNames description: The names that can be used to reference the field in an advanced search. type: Array - contextPath: Jira.IssueField.scope description: The scope of the field. type: Object - contextPath: Jira.IssueField.scope.type description: 'The type of scope. Valid values: PROJECT, TEMPLATE.' type: String - contextPath: Jira.IssueField.scope.project description: The project the item has scope in. type: Object - contextPath: Jira.IssueField.scope.project.self description: The URL of the project details. type: String - contextPath: Jira.IssueField.scope.project.id description: The ID of the project. type: String - contextPath: Jira.IssueField.scope.project.key description: The key of the project. type: String - contextPath: Jira.IssueField.scope.project.name description: The name of the project. type: String - contextPath: Jira.IssueField.scope.project.projectTypeKey description: 'The project type of the project. Valid values: software, service_desk, business.' type: String - contextPath: Jira.IssueField.scope.project.simplified description: Whether or not the project is simplified. type: Boolean - contextPath: Jira.IssueField.scope.project.avatarUrls description: The URLs of the project's avatars. type: Object - contextPath: Jira.IssueField.scope.project.projectCategory description: The category the project belongs to. type: Object - contextPath: Jira.IssueField.scope.project.projectCategory.self description: The URL of the project category. type: String - contextPath: Jira.IssueField.scope.project.projectCategory.id description: The ID of the project category. type: String - contextPath: Jira.IssueField.scope.project.projectCategory.description description: The name of the project category. type: String - contextPath: Jira.IssueField.scope.project.projectCategory.name description: The description of the project category. type: String - contextPath: Jira.IssueField.scope.type description: 'The type of scope. Valid values: PROJECT, TEMPLATE.' type: String - contextPath: Jira.IssueField.schema description: The data schema for the field. type: Object - contextPath: Jira.IssueField.schema.type description: The data type of the field. type: String - contextPath: Jira.IssueField.schema.items description: When the data type is an array, the name of the field items within the array. type: String - contextPath: Jira.IssueField.schema.system description: If the field is a system field, the name of the field. type: String - contextPath: Jira.IssueField.schema.custom description: If the field is a custom field, the URI of the field. type: String - contextPath: Jira.IssueField.schema.customId description: If the field is a custom field, the custom ID of the field. type: Number - contextPath: Jira.IssueField.schema.configuration description: If the field is a custom field, the configuration of the field. type: Object - arguments: - description: The issues to move to backlog. name: issues required: true - description: The board ID. Can only be used with a Jira Cloud instance. Run the command `jira-board-list` to retrieve the boards' IDs. name: board_id - description: To rank the issues before the stated issue (supports issue key and ID). This argument can be used when supplying the board ID. name: rank_before_issue - description: To rank the issues after the stated issue (supports issue key and ID). This argument can be used when supplying the board ID. name: rank_after_issue description: Moves issues to backlog. If the issues supplied are NOT part of a board that supports sprints, then the board_id argument is required. At most 50 issues may be moved at once. name: jira-issue-to-backlog - arguments: - description: The issues to move to board. name: issues required: true - description: The board ID. name: board_id required: true - description: To rank the issues before the stated issue (supports issue key and ID). name: rank_before_issue - description: To rank the issues after the stated issue (supports issue key and ID). name: rank_after_issue description: Moves issues from backlog to board, the command does not work with boards with sprints. At most 50 issues may be moved at once. This command is only supported for Jira Cloud instances. name: jira-issue-to-board - arguments: - description: The name of the board. name: board_name - description: The board ID. name: board_id - description: The project key or ID. name: project_key_id - auto: PREDEFINED description: "The type of the board. Allowed values are: scrum, kanban, simple." name: type predefined: - 'scrum' - 'kanban' - 'simple' - description: The maximum number of results to return. This argument will be ignored if page or page_size arguments were given. Default value is 50. name: limit - description: The page number. Default value is 0. name: page - description: The number of requested results per page. Default value is 50. name: page_size description: Get board data. If board_id is given, then only the board that corresponds to the board_id is returned, otherwise, the the command will return boards that match the project_key_id, type, or board_name arguments. name: jira-board-list outputs: - contextPath: Jira.Board.id description: The ID of the board. type: Number - contextPath: Jira.Board.self description: The URL of the board. type: String - contextPath: Jira.Board.name description: The name of the board. type: String - contextPath: Jira.Board.type description: The type the board. type: String - contextPath: Jira.Board.admins description: The administrators of the board. type: Object - contextPath: Jira.Board.admins.users description: The users who own the board. type: Object - contextPath: Jira.Board.admins.users.self description: The URL of the user. type: String - contextPath: Jira.Board.admins.users.displayName description: The display name of the user. Depending on the user’s privacy setting, this may return an alternative value. type: String - contextPath: Jira.Board.admins.users.active description: Whether the user is active. type: String - contextPath: Jira.Board.admins.users.accountId description: The account ID of the user, which uniquely identifies the user across all Atlassian products. type: String - contextPath: Jira.Board.admins.users.avatarUrls description: The avatars of the user. type: Object - contextPath: Jira.Board.admins.groups description: The groups who own the board. type: Object - contextPath: Jira.Board.admins.groups.name description: The name of the group. type: String - contextPath: Jira.Board.admins.groups.self description: The URL of the group. type: String - contextPath: Jira.Board.location description: The container that the board is located in. type: Object - contextPath: Jira.Board.location.projectId description: The project ID. type: Number - contextPath: Jira.Board.location.userId description: The user ID. type: Number - contextPath: Jira.Board.location.userAccountId description: The user account ID. type: String - contextPath: Jira.Board.location.displayName description: The display name of the project. type: String - contextPath: Jira.Board.location.projectName description: The project name. type: String - contextPath: Jira.Board.location.projectKey description: The project key. type: String - contextPath: Jira.Board.location.projectTypeKey description: The type of the project. type: String - contextPath: Jira.Board.location.avatarURI description: The avatar of the project. type: String - contextPath: Jira.Board.location.name description: The name of the project. type: String - contextPath: Jira.Board.canEdit description: Whether the board can be edited. type: String - contextPath: Jira.Board.isPrivate description: Whether the board is private. type: String - contextPath: Jira.Board.favourite description: Whether the board is selected as a favorite. type: String - arguments: - description: The board ID. name: board_id required: true - description: A JQL query to filter the issues. name: jql_query - description: The maximum number of results to return. This argument will be ignored if page or page_size arguments were given. Default value is 50. name: limit - description: The page number. Default value is 0. name: page - description: The number of requested results per page. Default value is 50. name: page_size description: Get issues from the backlog of a specific board. For Jira OnPrem, the board must be of type scrum. name: jira-board-backlog-list outputs: - contextPath: Jira.BoardBacklog.boardId description: The ID of the board. type: Number - contextPath: Jira.BoardBacklog.Ticket.Id description: The ticket ID. type: Number - contextPath: Jira.BoardBacklog.Ticket.Key description: The ticket key. type: String - contextPath: Jira.BoardBacklog.Ticket.Assignee description: The user assigned to the ticket. type: String - contextPath: Jira.BoardBacklog.Ticket.Creator description: The user who created the ticket. type: String - contextPath: Jira.BoardBacklog.Ticket.Summary description: The ticket summary. type: String - contextPath: Jira.BoardBacklog.Ticket.Status description: The ticket status. type: String - contextPath: Jira.BoardBacklog.Ticket.Priority description: The ticket priority. type: String - contextPath: Jira.BoardBacklog.Ticket.ProjectName description: The ticket project name. type: String - contextPath: Jira.BoardBacklog.Ticket.DueDate description: The due date. type: Date - contextPath: Jira.BoardBacklog.Ticket.Created description: The time the ticket was created. type: Date - contextPath: Jira.BoardBacklog.Ticket.LastSeen description: The last time the ticket was viewed. type: Date - contextPath: Jira.BoardBacklog.Ticket.LastUpdate description: The last time the ticket was updated. type: Date - arguments: - description: The board ID. name: board_id required: true - description: A JQL query to filter the issues. name: jql_query - description: The maximum number of results to return. This argument will be ignored if page or page_size arguments were given. Default value is 50. name: limit - description: The page number. Default value is 0. name: page - description: The number of requested results per page. Default value is 50. name: page_size description: Get all issues from a specific board. name: jira-board-issue-list outputs: - contextPath: Jira.BoardIssue.boardId description: The ID of the board. type: Number - contextPath: Jira.BoardIssue.Ticket.Id description: The ticket ID. type: Number - contextPath: Jira.BoardIssue.Ticket.Key description: The ticket key. type: String - contextPath: Jira.BoardIssue.Ticket.Assignee description: The user assigned to the ticket. type: String - contextPath: Jira.BoardIssue.Ticket.Creator description: The user who created the ticket. type: String - contextPath: Jira.BoardIssue.Ticket.Summary description: The ticket summary. type: String - contextPath: Jira.BoardIssue.Ticket.Status description: The ticket status. type: String - contextPath: Jira.BoardIssue.Ticket.Priority description: The ticket priority. type: String - contextPath: Jira.BoardIssue.Ticket.ProjectName description: The ticket project name. type: String - contextPath: Jira.BoardIssue.Ticket.DueDate description: The due date. type: Date - contextPath: Jira.BoardIssue.Ticket.Created description: The time the ticket was created. type: Date - contextPath: Jira.BoardIssue.Ticket.LastSeen description: The last time the ticket was viewed. type: Date - contextPath: Jira.BoardIssue.Ticket.LastUpdate description: The last time the ticket was updated. type: Date - arguments: - description: The board ID. name: board_id required: true - description: The maximum number of results to return. This argument will be ignored if page or page_size arguments were given. Default value is 50. name: limit - description: The page number. Default value is 0. name: page - description: The number of requested results per page. Default value is 50. name: page_size description: Get all sprints of a specific board. name: jira-board-sprint-list outputs: - contextPath: Jira.BoardSprint.boardId description: The ID of the board. type: String - contextPath: Jira.BoardSprint.Sprints description: The sprints in the board. type: Object - contextPath: Jira.BoardSprint.Sprints.id description: The ID of the sprint. type: Number - contextPath: Jira.BoardSprint.Sprints.self description: The URL of the sprint. type: String - contextPath: Jira.BoardSprint.Sprints.state description: The state of the sprint. type: String - contextPath: Jira.BoardSprint.Sprints.name description: The name of the sprint. type: String - contextPath: Jira.BoardSprint.Sprints.startDate description: The starting date of the sprint. type: String - contextPath: Jira.BoardSprint.Sprints.endDate description: The ending date of the sprint. type: String - contextPath: Jira.BoardSprint.Sprints.completeDate description: The date the sprint was completed. type: String - contextPath: Jira.BoardSprint.Sprints.originBoardId description: The ID of the origin board. type: Number - contextPath: Jira.BoardSprint.Sprints.goal description: The goal of the sprint. type: String - arguments: - description: The board ID. name: board_id required: true - auto: PREDEFINED description: Filters results to epics that are either done or not done. This uses the `Epic Status` field, and not the `Status` field of the issue. name: done defaultValue: 'false' predefined: - 'false' - 'true' - description: The maximum number of results to return. This argument will be ignored if page or page_size arguments were given. Default value is 50. name: limit - description: The page number. Default value is 0. name: page - description: The number of requested results per page. Default value is 50. name: page_size description: Get all epics from a specific board. name: jira-board-epic-list outputs: - contextPath: Jira.BoardEpic.boardId description: The ID of the board. type: Number - contextPath: Jira.BoardEpic.Epics description: Holds the data of the epic issues. type: Object - contextPath: Jira.BoardEpic.Epics.id description: The ID of the epic. type: Number - contextPath: Jira.BoardEpic.Epics.key description: The key of the epic. type: String - contextPath: Jira.BoardEpic.Epics.self description: The URL of the epic. type: String - contextPath: Jira.BoardEpic.Epics.name description: The name of the epic. type: String - contextPath: Jira.BoardEpic.Epics.summary description: The summary of the epic. type: String - contextPath: Jira.BoardEpic.Epics.done description: Whether the epic has been completed or not. type: Boolean - contextPath: Jira.BoardEpic.Epics.color description: Data about the color of the epic. type: Object - contextPath: Jira.BoardEpic.Epics.color.key description: The key of the color associated with the epic. type: String - arguments: - description: The board ID. name: board_id - description: The sprint ID. name: sprint_id required: true - description: A JQL query to filter the issues. name: jql_query - description: The maximum number of results to return. This argument will be ignored if page or page_size arguments were given. Default value is 50. name: limit - description: The page number. Default value is 0. name: page - description: The number of requested results per page. Default value is 50. name: page_size description: Get all issues in a sprint. name: jira-sprint-issue-list outputs: - contextPath: Jira.SprintIssues.boardId description: The ID of the board that the sprint belongs to. type: String - contextPath: Jira.SprintIssues.sprintId description: The ID of the sprint. type: String - contextPath: Jira.SprintIssues.Ticket.Id description: The ticket ID. type: Number - contextPath: Jira.SprintIssues.Ticket.Key description: The ticket key. type: String - contextPath: Jira.SprintIssues.Ticket.Assignee description: The user assigned to the ticket. type: String - contextPath: Jira.SprintIssues.Ticket.Creator description: The user who created the ticket. type: String - contextPath: Jira.SprintIssues.Ticket.Summary description: The ticket summary. type: String - contextPath: Jira.SprintIssues.Ticket.Status description: The ticket status. type: String - contextPath: Jira.SprintIssues.Ticket.Priority description: The ticket priority. type: String - contextPath: Jira.SprintIssues.Ticket.ProjectName description: The ticket project name. type: String - contextPath: Jira.SprintIssues.Ticket.DueDate description: The due date. type: Date - contextPath: Jira.SprintIssues.Ticket.Created description: The time the ticket was created. type: Date - contextPath: Jira.SprintIssues.Ticket.LastSeen description: The last time the ticket was viewed. type: Date - contextPath: Jira.SprintIssues.Ticket.LastUpdate description: The last time the ticket was updated. type: Date - arguments: - description: The issues to move to the sprint. name: issues required: true - description: The sprint ID. name: sprint_id required: true - description: To rank the issues before the stated issue (supports issue key and ID). name: rank_before_issue - description: To rank the issues after the stated issue (supports issue key and ID). name: rank_after_issue description: Moves issues to a sprint, for a given sprint ID. Issues can only be moved to open or active sprints. At most 50 issues may be moved at once. name: jira-sprint-issue-move - arguments: - description: The key of the epic. (The epic ID or key is required). name: epic_key - description: The ID of the epic. (The epic ID or key is required). name: epic_id - description: A JQL query to filter the issues. name: jql_query - description: The maximum number of results to return. This argument will be ignored if page or page_size arguments were given. Default value is 50. name: limit - description: The page number. Default value is 0. name: page - description: The number of requested results per page. Default value is 50. name: page_size description: Get all issues that belong to an epic (Child Issues). name: jira-epic-issue-list outputs: - contextPath: Jira.EpicIssues.boardId description: The ID of the board that holds the issues. type: String - contextPath: Jira.EpicIssues.epicId description: The ID of the epic that holds the issues. type: String - contextPath: Jira.EpicIssues.key description: The key of the epic. type: String - contextPath: Jira.EpicIssues.Ticket.Id description: The ticket ID. type: Number - contextPath: Jira.EpicIssues.Ticket.Key description: The ticket key. type: String - contextPath: Jira.EpicIssues.Ticket.Assignee description: The user assigned to the ticket. type: String - contextPath: Jira.EpicIssues.Ticket.Creator description: The user who created the ticket. type: String - contextPath: Jira.EpicIssues.Ticket.Summary description: The ticket summary. type: String - contextPath: Jira.EpicIssues.Ticket.Status description: The ticket status. type: String - contextPath: Jira.EpicIssues.Ticket.Priority description: The ticket priority. type: String - contextPath: Jira.EpicIssues.Ticket.ProjectName description: The ticket project name. type: String - contextPath: Jira.EpicIssues.Ticket.DueDate description: The due date. type: Date - contextPath: Jira.EpicIssues.Ticket.Created description: The time the ticket was created. type: Date - contextPath: Jira.EpicIssues.Ticket.LastSeen description: The last time the ticket was viewed. type: Date - contextPath: Jira.EpicIssues.Ticket.LastUpdate description: The last time the ticket was updated. type: Date - description: Returns a list of all issue link types. name: jira-issue-link-type-get outputs: - contextPath: Jira.IssueLinkType description: The issue link type bean. type: Object - contextPath: Jira.IssueLinkType.id description: The ID of the issue link type. type: String - contextPath: Jira.IssueLinkType.inward description: The description of the issue link type inward link. type: String - contextPath: Jira.IssueLinkType.name description: The name of the issue link type. type: String - contextPath: Jira.IssueLinkType.outward description: The description of the issue link type outward link. type: String - contextPath: Jira.IssueLinkType.self description: The URL of the issue link type. type: String arguments: [] - arguments: - description: The key of the outward issue. name: outward_issue required: true - description: The key of the inward issue. name: inward_issue required: true - description: The name of the link to apply. Use `jira-issue-link-type-get` to see available links. name: link_type required: true - description: A comment to add to the inward issue. name: comment description: Use this command to create a link between two issues. name: jira-issue-to-issue-link - arguments: - description: The issue ID. name: issue_id required: true description: Fetches questions and answers for forms tied to a Jira issue. This command requires Jira Service Desk, the ProForma plugin and an API user with `Service Desk Team` or higher permissions on the Jira project the forms are being pulled from. name: jira-issue-get-forms outputs: - contextPath: JiraForms.ID description: The ID of the form. type: Unknown - contextPath: JiraForms.Issue description: Issue the form belongs to. type: Unknown - contextPath: JiraForms.Questions description: Questions for the form. type: Unknown - arguments: - description: The user's key (On-prem only). name: key required: false - description: The user's username (On-prem only). name: username required: false - description: The user's account ID (Cloud only). name: account_id required: false description: Retrieves information about a specified Jira user. For on-prem instances, you should use the user's key and username to retrieve their details. For Cloud instances, user's `account_id` is required. If no identifier is supplied, information for the user the API credentials belong to is returned. name: jira-get-user-info outputs: - contextPath: Jira.Users.Key description: The user's key or ID. type: Unknown - contextPath: Jira.Users.Name description: Name of the user. type: Unknown - contextPath: Jira.Users.Email description: User's email address. type: Unknown - contextPath: Jira.Users.Display Name description: Display name for the user. type: Unknown - contextPath: Jira.Users.Active description: If the user is active or not. type: Unknown - contextPath: Jira.Users.Deleted description: If the user is deleted or not. type: Unknown - contextPath: Jira.Users.Timezone description: Timezone setting for the user. type: Unknown - contextPath: Jira.Users.Locale description: Locale setting for the user. type: Unknown - contextPath: Jira.Users.AccountID description: The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5. Required in requests. type: Unknown - contextPath: Jira.Users.AccountType description: "The user account type. Can take the following values: atlassian, app, customer." type: Unknown - arguments: - description: The remote incident ID. name: id required: true - defaultValue: '0' description: The UTC timestamp in seconds of the last update. The incident is only updated if it was modified after the last update time. name: lastUpdate description: Get remote data from a remote incident. This method does not update the current incident, and should be used for debugging purposes only. name: get-remote-data - arguments: - description: The remote incident ID. name: id required: true description: Get remote data from a remote incident. This method does not update the current incident, and should be used for debugging purposes only. name: get-remote-data-preview - description: Returns the list of fields to map in outgoing mirroring. This command is only used for debugging purposes. name: get-mapping-fields arguments: [] - arguments: - description: Date string representing the local time. The incident is only returned if it was modified after the last update time. name: lastUpdate description: Get the list of incidents that were modified since the last update time. This method is used for debugging purposes. The get-modified-remote-data command is used as part of the Mirroring feature that was introduced in Cortex XSOAR version 6.1. name: get-modified-remote-data - description: Updates the remote incident with local incident changes. This method is only used for debugging purposes and will not update the current incident. name: update-remote-system arguments: [] - name: jira-create-metadata-issue-types-list arguments: - name: project_id_or_key required: true description: The ID or key of the project. - name: start_at description: The index of the first item to return in a page of results (page offset). defaultValue: "0" - name: max_results description: The maximum number of items to return per page. Between 0 and 200. defaultValue: "50" description: Returns a page of issue type metadata for a specified project. outputs: - contextPath: Jira.IssueType.AvatarID description: The ID of the issue type's avatar. type: Number - contextPath: Jira.IssueType.Description description: The description of the issue type. type: String - contextPath: Jira.IssueType.EntityID description: Unique ID for next-gen projects. type: String - contextPath: Jira.IssueType.Expand description: Expand options that include additional issue type metadata details in the response. type: String - contextPath: Jira.IssueType.IconURL description: The URL of the issue type's avatar. type: String - contextPath: Jira.IssueType.ID description: The ID of the issue type. type: String - contextPath: Jira.IssueType.Name description: The name of the issue type. type: String - contextPath: Jira.IssueType.Self description: The URL of these issue type details. type: String - contextPath: Jira.IssueType.Subtask description: Whether this issue type is used to create subtasks. type: Boolean - contextPath: Jira.IssueType.Scope description: Details of the next-gen projects the issue type is available in. type: Object - contextPath: Jira.IssueType.Scope.type description: 'The type of scope. Valid values: PROJECT, TEMPLATE.' type: String - contextPath: Jira.IssueType.Scope.project description: The project the item has scope in. type: Object - contextPath: Jira.IssueType.Scope.project.self description: The URL of the project details. type: String - contextPath: Jira.IssueType.Scope.project.id description: The ID of the project. type: String - contextPath: Jira.IssueType.Scope.project.key description: The key of the project. type: String - contextPath: Jira.IssueType.Scope.project.name description: The name of the project. type: String - contextPath: Jira.IssueType.Scope.project.projectTypeKey description: 'The project type of the project. Valid values: software, service_desk, business.' type: String - contextPath: Jira.IssueType.Scope.project.simplified description: Whether or not the project is simplified. type: Boolean - contextPath: Jira.IssueType.Scope.project.avatarUrls description: The URLs of the project's avatars. type: Object - contextPath: Jira.IssueType.Scope.project.projectCategory description: The category the project belongs to. type: Object - contextPath: Jira.IssueType.Scope.project.projectCategory.self description: The URL of the project category. type: String - contextPath: Jira.IssueType.Scope.project.projectCategory.id description: The ID of the project category. type: String - contextPath: Jira.IssueType.Scope.project.projectCategory.description description: The name of the project category. type: String - contextPath: Jira.IssueType.Scope.project.projectCategory.name description: The description of the project category. type: String - name: jira-create-metadata-field-list arguments: - name: project_id_or_key required: true description: The ID or key of the project. - name: issue_type_id required: true description: The issue type ID. - name: start_at description: The index of the first item to return in a page of results (page offset). defaultValue: "0" - name: max_results description: The maximum number of items to return per page. Between 0 and 200. defaultValue: "50" description: Returns a page of field metadata for a specified project and issue type. outputs: - contextPath: Jira.IssueField.AllowedValues description: The list of values allowed in the field. type: Array - contextPath: Jira.IssueField.AutoCompleteUrl description: The URL that can be used to automatically complete the field. type: String - contextPath: Jira.IssueField.Configuration description: The configuration properties. type: Object - contextPath: Jira.IssueField.DefaultValue description: The default value of the field. type: String - contextPath: Jira.IssueField.FieldID description: The field ID. type: String - contextPath: Jira.IssueField.HasDefaultValue description: Whether the field has a default value. type: Boolean - contextPath: Jira.IssueField.Key description: The key of the field. type: String - contextPath: Jira.IssueField.Name description: The name of the field. type: String - contextPath: Jira.IssueField.Operations description: The list of operations that can be performed on the field. type: Array - contextPath: Jira.IssueField.Required description: Whether the field is required. type: Boolean - contextPath: Jira.IssueField.Schema description: The data type for the field. type: Object - contextPath: Jira.IssueField.Schema.type description: The data type of the field. type: String - contextPath: Jira.IssueField.Schema.items description: When the data type is an array, the name of the field items within the array. type: String - contextPath: Jira.IssueField.Schema.system description: If the field is a system field, the name of the field. type: String - contextPath: Jira.IssueField.Schema.custom description: If the field is a custom field, the URI of the field. type: String - contextPath: Jira.IssueField.Schema.customId description: If the field is a custom field, the custom ID of the field. type: Number - contextPath: Jira.IssueField.Schema.configuration description: If the field is a custom field, the configuration of the field. type: Object - arguments: - description: 'A summary of the issue. Use issue fields as variables to enrich the text. Example: ${issue.name}.' name: summary prettyname: Summary required: true - description: The Jira project key where the issue will be created. name: project_key prettyname: Project Key required: true - description: 'Selects an issue type by name, for example: "Bug" or "Task".' name: issue_type_name prettyname: Issue Type required: true - description: 'A description of the issue. Use issue fields as variables to enrich the text. Example: ${issue.details}.' name: description prettyname: Description required: true - description: A CSV list of labels. isArray: true name: labels - description: Indicates if the ticket should be mirrored. name: mirroring type: mirroring hidden: true - name: priority description: Priority of the ticket. predefined: - High - Medium - Low - description: The due date for the issue (in the format yyyy-mm-dd). name: due_date - description: The name of the assignee. Relevant for Jira Server only. If you are using Jira Cloud, provide the assignee_id argument instead. Use the jira-get-id-by-attribute command to get the user's name. name: assignee - description: The account ID of the assignee. Relevant for Jira Cloud only. Use the jira-get-id-by-attribute command to get the user's account ID. name: assignee_id - description: The account ID of the reporter. Relevant for Jira Cloud only. Use the jira-get-id-by-attribute command to get the user's account ID. name: reporter_id - description: The name of the of the reporter. Relevant for Jira Server only. Use reporter_id for Jira Cloud. Use the jira-get-id-by-attribute command to get the user's name. name: reporter - description: The parent issue key (if you're creating a sub-task). name: parent_issue_key - description: The parent issue ID (if you're creating a sub-task). name: parent_issue_id - description: A text field for describing the environment in which the issue occurred. For example environment="IE9 on Windows 7". name: environment - description: The security level of the issue. For example security="Anyone". name: security - description: The component names of the issue. For example components="component1,component2". When using a Jira OnPrem instance, the entered components must already exist. isArray: true name: components description: Creates a new issue in Jira. name: jira-create-issue-quick-action prettyname: Create Jira Ticket hidden: true quickaction: true outputs: - contextPath: Ticket.Id description: The ticket ID. type: String - contextPath: Ticket.Key description: The ticket key. type: String - name: jira-reset-timezone-cache description: Clears the cached Jira user timezone used for fetching incidents and mirroring from the internal cache. Use if the timezone settings tied to the chosen authentication method were changed. dockerimage: demisto/btfl-soup:1.0.1.10120494 isfetch: true ismappable: true isremotesyncin: true isremotesyncout: true runonce: false script: '' subtype: python3 type: python tests: - JiraV3 Test defaultmapperin: classifier-mapper-incoming-JiraV3 supportsquickactions: true defaultmapperout: JiraV3 Outgoing Mapper fromversion: 6.8.0