Documentation Index

Fetch the complete documentation index at: https://docs.lansweeper.com/llms.txt

Use this file to discover all available pages before exploring further.

Jira Connector

Prev Next
Note on third‑party tools

We aim to provide accurate and helpful details about third‑party tools, but we can’t guarantee that this information is always complete or up to date. If you notice any discrepancies, feel free to share them in the feedback section below. For the most reliable information, please always refer to the third‑party tool’s official documentation.

Jira is a proprietary issue tracking product developed by Atlassian that allows bug tracking and agile project management.
This component manages issues, comments, projects, and users within Jira.

API Documentation

This component was built using the Jira Cloud REST API (v3)

Connections

Basic Authentication

Authenticate using username and API token.

To authenticate with Atlassian Jira using Basic Authentication, an email address and either an API token (for Jira Cloud) or password (for self-hosted Jira) is required.

Prerequisites

  • Access to a Jira Cloud or self-hosted Jira instance
  • Administrative permissions to generate API tokens (for Jira Cloud)

Setup Steps

For Jira Cloud:

  1. Navigate to Atlassian Account API Tokens
  2. Click Create API token
  3. Enter a label for the token and click Create
  4. Copy the generated API token value

For Self-Hosted Jira:

Use the standard account password for authentication. No additional setup is required.

Configure the Connection

  • For Username, enter the email address associated with the Jira account
  • For API Key:
    • Jira Cloud: Enter the API token generated in the previous step
    • Self-Hosted Jira: Enter the account password
  • For Host, enter the Jira instance URL (e.g., example.atlassian.net for cloud or the self-hosted domain)
  • For Version, select the API version (typically 3 for Jira Cloud, 2 for older instances)

For more information on generating API tokens from Jira Cloud, refer to the Atlassian documentation.

Self-Hosted vs Cloud Authentication

Jira Cloud requires an API token for Basic Authentication, while self-hosted instances can use the account password. For security reasons, it is recommended to use API tokens whenever possible.

Input Comments Default
Username The Jira username or email address used for authentication.
API Key The Jira API token used for authentication. Cloud users must generate an API token from Atlassian Account Settings.
Host The hostname of the Jira instance (without https://).
Version Select the Jira API version to use for requests. 3

OAuth 2.0

Authenticate using OAuth 2.0.

To create an Atlassian Jira OAuth 2.0 connection, an OAuth 2.0 integration must be configured in the Atlassian Developer Console.

Jira's Cloud API supports OAuth 2.0 (3LO) flows for secure authentication. For more information on OAuth 2.0 (3LO) apps, refer to Jira's OAuth 2.0 documentation.

Prerequisites

Setup Steps

  1. Navigate to the Atlassian Developer Console
  2. Click Create and select OAuth 2.0 integration
  3. Enter a name for the integration
  4. After creation, locate the App details section and copy the Client ID and Client Secret values
  5. Under the Authorization section, click Configure next to OAuth 2.0 (3LO)
  6. Enter the callback URL: https://oauth2.flowbuilder.eu.lansweeper.com/callback for EU sites or https://oauth2.flowbuilder.us.lansweeper.com/callback for US sites
  7. Navigate to the Permissions tab
  8. Add the required scopes based on the use case:
    • For basic issue management, the following scopes are recommended:

      read:jira-user read:jira-work write:jira-work manage:jira-project manage:jira-configuration manage:jira-webhook offline_access
      
    • Refer to Jira OAuth 2.0 scopes documentation for a complete list of available scopes

  9. Click Save to apply the configuration
Scope Consistency

The scopes configured in the Atlassian Developer Console must match the scopes entered in the connection configuration. Inconsistent scopes will cause authentication failures.

Configure the Connection

  • For Authorize URL and Token URL, keep the pre-populated defaults (https://auth.atlassian.com/authorize?audience=api.atlassian.com&prompt=consent and https://auth.atlassian.com/oauth/token) unless instructed otherwise by Atlassian

  • Enter the Client ID from the Atlassian Developer Console

  • Enter the Client Secret from the Atlassian Developer Console

  • For Scopes, use the following default value:

    read:jira-user read:jira-work write:jira-work manage:jira-project manage:jira-configuration manage:jira-webhook offline_access
    
    • The offline_access scope is required to obtain a refresh token
    • Customize the scopes to match the use case requirements
    • Ensure the scopes match those configured in the Atlassian Developer Console
    • Refer to Jira scopes documentation for additional scope information
  • For Jira Site Name (optional):

    • By default, the connection uses the first Jira site the authenticated user has access to
    • To specify a different site, enter the site name (e.g., example) or full URL (e.g., example.atlassian.net)
  • For Version, select the API version (typically 3 for Jira Cloud)

For additional information on developing Jira applications and OAuth 2.0 configuration, refer to the Jira OAuth 2.0 apps guide.

This connection uses OAuth 2.0, a common authentication mechanism for integrations.
Read about how OAuth 2.0 works here.

Input Comments Default
Authorize URL The OAuth 2.0 Authorization URL for Jira. https://auth.atlassian.com/authorize?audience=api.atlassian.com&prompt=consent
Token URL The OAuth 2.0 Token URL for Jira. https://auth.atlassian.com/oauth/token
Scopes Space-delimited list of OAuth scopes for Jira access. For more information, see Jira OAuth 2.0 Scopes. read:jira-user read:jira-work write:jira-work manage:jira-project manage:jira-configuration manage:jira-webhook offline_access
Client ID The OAuth 2.0 Client ID from the Atlassian Developer Console.
Client Secret The OAuth 2.0 Client Secret from the Atlassian Developer Console.
Atlassian Site Name Optional site name or URL to connect to. By default, connects to the first Jira site the user has access to. Use this if multiple Jira sites are available.
Version Select the Jira API version to use for requests. 3

OAuth 2.0 Client Credentials

Authenticate using OAuth 2.0 Client Credentials.

To authenticate with Atlassian Jira using OAuth 2.0 Client Credentials, an OAuth 2.0 integration must be configured in the Atlassian Admin Hub. This connection type enables service account (machine-to-machine) access without requiring user interaction.

For more information on OAuth 2.0 Client Credentials for Jira, refer to Atlassian's documentation on creating OAuth 2.0 credentials for service accounts.

Prerequisites

  • Access to the Atlassian Admin Hub with organization administrator permissions
  • A Jira Cloud site associated with the organization

Setup Steps

  1. Navigate to the Atlassian Admin Hub
  2. Select the organization that contains the Jira site
  3. Navigate to Directory > Service accounts
  4. Select an existing service account, or create a new one
  5. Click Create credentials and select OAuth 2.0
  6. Enter a name for the credential
  7. Configure the required scopes:
    • For basic issue management, the following scopes are recommended:

      read:jira-user read:jira-work write:jira-work manage:jira-project manage:jira-configuration manage:jira-webhook
      
    • Refer to Jira OAuth 2.0 scopes documentation for a complete list of available scopes

  8. Click Create to generate the credential
  9. Copy the Client ID and Client Secret values (the secret is only shown once)
  10. Obtain the Cloud ID for the Jira site by following the Atlassian Cloud ID retrieval guide

Configure the Connection

  • Enter the Client ID from the OAuth 2.0 credential

  • Enter the Client Secret from the OAuth 2.0 credential

  • Enter the Cloud ID of the Jira site to connect to

  • For Scopes, use the following default value:

    read:jira-user read:jira-work write:jira-work manage:jira-project manage:jira-configuration manage:jira-webhook
    
    • Ensure the scopes match those configured in the Atlassian Admin Hub credential
    • Refer to Jira scopes documentation for additional scope information
  • For Version, select the API version (typically 3 for Jira Cloud)

This connection uses OAuth 2.0, a common authentication mechanism for integrations.
Read about how OAuth 2.0 works here.

Input Comments Default
Scopes Space-delimited list of OAuth scopes for Jira access. These must match the scopes configured when creating the OAuth 2.0 credential in Admin Hub. For more information, see Jira OAuth 2.0 Scopes. read:jira-user read:jira-work write:jira-work manage:jira-project manage:jira-configuration manage:jira-webhook
Client ID The OAuth 2.0 Client ID generated when creating the credential in Atlassian Admin Hub.
Client Secret The OAuth 2.0 Client Secret generated when creating the credential in Atlassian Admin Hub.
Cloud ID The Cloud ID of the Jira site. See How to Find Your Cloud ID for instructions.
Version Select the Jira API version to use for requests. 3

Triggers

Issue Events

Receive real-time notifications when Jira issues are created, updated, or deleted. Automatically creates and manages a webhook subscription for selected issue events when the instance is deployed, and removes the subscription when the instance is deleted.

Input Comments Default
Connection The Jira connection to use.
Event Types One or more Jira issue events that will trigger this webhook.
JQL Filter JQL (Jira Query Language) filter to limit which issues trigger the webhook. For more information, see JQL Documentation.
Field IDs Filter An optional list of field IDs to monitor. Only changes to these specific fields will trigger the webhook. Leave empty to monitor all field changes.

New and Updated Issues

Checks for new and updated issues in Jira on a configured schedule, separated into new and updated buckets using JQL on /search/jql.

Input Comments Default
Connection The Jira connection to use.
Additional JQL Filter Optional JQL clause appended (with AND) to the built-in updated >= <lastPolledAt> filter. Use to narrow results by project, type, assignee, etc.
Show New Issues When enabled, issues created since the last poll will be included in the trigger output. true
Show Updated Issues When enabled, issues updated since the last poll will be included in the trigger output. true

Actions

Add Comment

Add a comment to an existing issue.

Input Comments Default
Connection The Jira connection to use.
Issue ID The unique identifier of the Jira issue.
Comment The plain-text body of the comment.
Dynamic Fields Dynamic field key/value pairs supplied as JSON. Use a key/value config variable to configure these at deploy time. Each item must contain a key and a value.
Values Additional field names and their values to include when creating or updating the record. Each row is merged into the request payload.

Add Issue Attachment

Add a file attachment to an issue.

Input Comments Default
Connection The Jira connection to use.
Issue ID The unique identifier of the Jira issue.
File The file to upload - either string contents or a binary file
File Name The name of the file to upload

Create Issue

Create an issue within a given project.

Input Comments Default
Connection The Jira connection to use.
Project ID The unique identifier or name of the Jira project.
Summary A short one-line title for the issue, shown in lists and search results.
Description A detailed description of the issue.
ADF Description The Atlassian Document Format (ADF) JSON representation of the issue description. Provide this OR Description — not both. Use the ADF playground to generate the JSON.
Issue Type Name The human-readable name of the issue type to assign to the issue. Provide this field OR Issue Type ID — not both.
Issue Type ID The unique identifier of the issue type to assign to the issue. Provide this field OR Issue Type Name — not both.
Assignee Account ID The Atlassian account ID of the user to assign the issue to.
Reporter Account ID The Atlassian account ID of the user reporting the issue.
Due Date The date when the issue is due. Format: YYYY-MM-DD.
Priority The priority to assign to the issue. Accepts the priority ID, key, or name of the desired record.
Labels A list of labels to attach to the issue. Each label must not contain spaces.
Versions The affected version(s) for the issue as a JSON array of objects. Each object must contain an id referencing an existing version.
Fix Versions The fix version(s) for the issue as a JSON object containing an id property referencing an existing version.
Dynamic Fields Dynamic field key/value pairs supplied as JSON. Use a key/value config variable to configure these at deploy time. Each item must contain a key and a value.
Values Additional field names and their values to include when creating or updating the record. Each row is merged into the request payload.

Create User

Create a new user record.

Input Comments Default
Connection The Jira connection to use.
Email Address The email address of the user.
Username The username for the Jira user account.
Password The password to assign to the new user account.
Notifications When true, the user will receive email notifications for relevant events. false
Display Name The display name for the user account.
Dynamic Fields Dynamic field key/value pairs supplied as JSON. Use a key/value config variable to configure these at deploy time. Each item must contain a key and a value.
Values Additional field names and their values to include when creating or updating the record. Each row is merged into the request payload.

Create Version

Create a new version.

Input Comments Default
Connection The Jira connection to use.
Description A detailed description of the issue.
Version Name The display name of the version (e.g., a release tag or date).
Archived When true, marks the version as archived. false
Released When true, marks the version as released. false
Start Date The date when work on this version starts. Format: YYYY-MM-DD.
Release Date The date when this version is released. Format: YYYY-MM-DD.
Project Key The project key identifier (e.g., PROJ, ENG, SALES).
Project ID The unique identifier or name of the Jira project.
Dynamic Fields Dynamic field key/value pairs supplied as JSON. Use a key/value config variable to configure these at deploy time. Each item must contain a key and a value.
Values Additional field names and their values to include when creating or updating the record. Each row is merged into the request payload.

Create Webhook

Create a webhook to send data from Jira to an instance URL.

Input Comments Default
Connection The Jira connection to use.
Webhook URL The URL that Jira will POST webhook events to. Typically reference a flow's URL from the trigger payload.
Webhook Details The webhook details payload sent to Jira's OAuth2 Webhook API or REST API. Must match the structure of the webhooks property described in the Register Dynamic Webhook endpoint.

Delete Comment

Delete a comment from an issue.

Input Comments Default
Connection The Jira connection to use.
Issue ID The unique identifier of the Jira issue.
Comment ID The unique identifier of the comment.

Delete Issue

Delete an issue by ID.

Input Comments Default
Connection The Jira connection to use.
Issue ID The unique identifier of the Jira issue.

Delete Webhook

Delete a webhook by ID.

Input Comments Default
Connection The Jira connection to use.
Webhook ID The unique identifier of the webhook.

Download Issue Attachments

Download the attachment data connected to an issue.

Input Comments Default
Connection The Jira connection to use.
Issue ID Providing an Issue ID will return all attachments of an Issue.
Attachment IDs A JSON array of attachments to download, each with an id and mimeType. When provided, the Issue ID input is ignored.

Find Issue

Find an issue by attribute.

Input Comments Default
Connection The Jira connection to use.
Search Type Attribute to search
Search Value Value to search for
Fields A comma-separated list of fields to include in each returned issue. Defaults to common navigable fields (summary, status, assignee, reporter, priority, issuetype, project, created, updated). Use *all to return every field.

Find Project

Find a project by attribute.

Input Comments Default
Connection The Jira connection to use.
Search Type Attribute to search
Search Value Value to search for

Find User

Find a user by attribute.

Input Comments Default
Connection The Jira connection to use.
Search Value Value to search for

Get Board

Get the information and metadata of a board by ID.

Input Comments Default
Connection The Jira connection to use.
Board ID The unique identifier of the Jira board.

Get Comments

Get all comments on a given issue.

Input Comments Default
Connection The Jira connection to use.
Issue ID The unique identifier of the Jira issue.

Get Current User

Get the information and metadata of the current user.

Input Comments Default
Connection The Jira connection to use.

Get Issue

Get the information and metadata of an issue.

Input Comments Default
Connection The Jira connection to use.
Issue ID The unique identifier of the Jira issue.

Get Project

Get the information and metadata of a project.

Input Comments Default
Connection The Jira connection to use.
Project ID The unique identifier or name of the Jira project.

Get Status List

Return a list of statuses for a project.

Input Comments Default
Connection The Jira connection to use.
Project ID The unique identifier or name of the Jira project.
Max Results The maximum number of results to return per page.
Start At The index of the first item to return in the result set (0-based). 0

Get User

Get the information and metadata of a user by ID.

Input Comments Default
Connection The Jira connection to use.
Account ID The unique Atlassian account ID of the user.
Expand A comma-separated list of additional fields to include in the response. Values come from the _expandable property of the resource.

Get Version

Get the information and metadata of an existing version.

Input Comments Default
Connection The Jira connection to use.
Version ID The unique identifier of the version.

List Assignable Users for Project

Return a list of users assignable to the given project.

Input Comments Default
Connection The Jira connection to use.
Project Key The project key identifier (e.g., PROJ, ENG, SALES).
Start At The index of the first item to return in the result set (0-based). 0
Max Results The maximum number of results to return per page.

List Boards

Retrieve a list of existing boards.

Input Comments Default
Connection The Jira connection to use.
Start At The index of the first item to return in the result set (0-based). 0
Max Results The maximum number of results to return per page.
Filter The scope used to limit returned dashboards. Common values are my (dashboards owned by the current user) and favourite (dashboards starred by the current user). my

List Board Sprints

List all sprints within a board.

Input Comments Default
Connection The Jira connection to use.
Board ID The unique identifier of the Jira board.
Start At The index of the first item to return in the result set (0-based). 0
Max Results The maximum number of results to return per page.

List Issue Attachments

Return a list of attachments for a given issue.

Input Comments Default
Issue ID The unique identifier of the Jira issue.
Connection The Jira connection to use.

List Issue Custom Fields

List all configured custom issue fields.

Input Comments Default
Connection The Jira connection to use.

List Issue Fields

List all non-custom issue fields.

Input Comments Default
Connection The Jira connection to use.

List Issue Link Types

List all available issue link types.

Input Comments Default
Connection The Jira connection to use.

List Issues by Project

Return a list of issues for a specific project.

Input Comments Default
Connection The Jira connection to use.
Project ID The unique identifier or name of the Jira project.
Next Page Token The pagination cursor returned from a previous response. Use it to fetch the next page of results. Leave empty for the first page.
Max Results The maximum number of results to return per page.
Fields A comma-separated list of fields to include in each returned issue. Defaults to common navigable fields (summary, status, assignee, reporter, priority, issuetype, project, created, updated). Use *all to return every field.

List Issue Transitions

Return a list of available transitions for an issue.

Input Comments Default
Connection The Jira connection to use.
Issue ID The unique identifier of the Jira issue.

List Issue Types

Return a list of issue types.

Input Comments Default
Connection The Jira connection to use.

List Issue Worklogs

Return a list of worklogs for an issue.

Input Comments Default
Connection The Jira connection to use.
Issue ID The unique identifier of the Jira issue.

List Priorities

Return a list of all priorities.

Input Comments Default
Connection The Jira connection to use.
Max Results The maximum number of results to return per page.
Start At The index of the first item to return in the result set (0-based). 0

List Projects

Retrieve a list of all projects.

Input Comments Default
Connection The Jira connection to use.
Max Results The maximum number of results to return per page.
Start At The index of the first item to return in the result set (0-based). 0

List Versions

Return a list of all versions for a project.

Input Comments Default
Connection The Jira connection to use.
Project ID The unique identifier or name of the Jira project.
Max Results The maximum number of results to return per page.
Start At The index of the first item to return in the result set (0-based). 0

List Webhooks

List all configured webhooks, including those for other integrations.

Input Comments Default
Connection The Jira connection to use.
Fetch All When true, automatically fetches all pages of results using pagination. false

Query

Search the entire Jira site using a JQL query.

Input Comments Default
Connection The Jira connection to use.
Search The text to match against records when searching.
Expand A comma-separated list of additional fields to include in the response. Values come from the _expandable property of the resource.
Max Results The maximum number of results to return per page.

Raw Request

Send a raw HTTP request to Jira.

Input Comments Default
Connection The Jira connection to use.
URL Input the path only (/rest/api/3/project/recent), The base URL is already included (https://api.atlassian.com/ex/jira/<CLOUD_ID>). For example, to connect to https://api.atlassian.com/ex/jira/<CLOUD_ID>/rest/api/3/project/recent, only /rest/api/3/project/recent is entered in this field. /rest/api/3/project/recent
Method The HTTP method to use.
Data The HTTP body payload to send to the URL.
Form Data The Form Data to be sent as a multipart form upload.
File Data File Data to be sent as a multipart form upload.
File Data File Names File names to apply to the file data inputs. Keys must match the file data keys above.
Query Parameter A list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2.
Header A list of headers to send with the request.
Response Type The type of data you expect in the response. You can request json, text, or binary data. json
Timeout The maximum time that a client will await a response to its request
Retry Delay (ms) The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled. 0
Retry On All Errors If true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors. false
Max Retry Count The maximum number of retries to attempt. Specify 0 for no retries. 0
Use Exponential Backoff Specifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored. false

Refresh Webhook

Refresh a webhook expiration by ID.

Input Comments Default
Connection The Jira connection to use.
Webhook ID ID of the webhook to refresh

Search Issues

Return a list of issues that match the given string of text.

Input Comments Default
Connection The Jira connection to use.
Search The text to match against records when searching.
Project Key The project key identifier (e.g., PROJ, ENG, SALES).
Fields A comma-separated list of fields to include in each returned issue. Defaults to common navigable fields (summary, status, assignee, reporter, priority, issuetype, project, created, updated). Use *all to return every field.

Search Projects

Return a list of projects that match the given string of text.

Input Comments Default
Connection The Jira connection to use.
Search The text to match against records when searching.

Search Users

Return a single user that matches the given string of text.

Input Comments Default
Connection The Jira connection to use.
Search The text to match against records when searching.

Transition Issue

Transition an existing issue by ID.

Input Comments Default
Connection The Jira connection to use.
Issue ID The unique identifier of the Jira issue.
Transition ID The unique identifier of the issue transition.

Update Comment

Update the contents and metadata of an existing comment.

Input Comments Default
Connection The Jira connection to use.
Issue ID The unique identifier of the Jira issue.
Comment ID The unique identifier of the comment.
Comment The plain-text body of the comment.
Dynamic Fields Dynamic field key/value pairs supplied as JSON. Use a key/value config variable to configure these at deploy time. Each item must contain a key and a value.
Values Additional field names and their values to include when creating or updating the record. Each row is merged into the request payload.

Update Issue

Update an existing issue within a given project.

Input Comments Default
Connection The Jira connection to use.
Issue ID The unique identifier of the Jira issue.
Project ID The unique identifier or name of the Jira project.
Summary A short one-line title for the issue, shown in lists and search results.
Description A detailed description of the issue.
ADF Description The Atlassian Document Format (ADF) JSON representation of the issue description. Provide this OR Description — not both. Use the ADF playground to generate the JSON.
Issue Type Name The human-readable name of the issue type to assign to the issue. Provide this field OR Issue Type ID — not both.
Issue Type ID The unique identifier of the issue type to assign to the issue. Provide this field OR Issue Type Name — not both.
Assignee Account ID The Atlassian account ID of the user to assign the issue to.
Reporter Account ID The Atlassian account ID of the user reporting the issue.
Fix Versions The fix version(s) for the issue as a JSON object containing an id property referencing an existing version.
Priority The priority to assign to the issue. Accepts the priority ID, key, or name of the desired record.
Labels A list of labels to attach to the issue. Each label must not contain spaces.
Due Date The date when the issue is due. Format: YYYY-MM-DD.
Versions The affected version(s) for the issue as a JSON array of objects. Each object must contain an id referencing an existing version.
Dynamic Fields Dynamic field key/value pairs supplied as JSON. Use a key/value config variable to configure these at deploy time. Each item must contain a key and a value.
Values Additional field names and their values to include when creating or updating the record. Each row is merged into the request payload.

Update Version

Update an existing version by ID.

Input Comments Default
Connection The Jira connection to use.
Version ID The unique identifier of the version.
Description A detailed description of the issue.
Version Name The display name of the version (e.g., a release tag or date).
Archived When true, marks the version as archived. false
Released When true, marks the version as released. false
Start Date The date when work on this version starts. Format: YYYY-MM-DD.
Release Date The date when this version is released. Format: YYYY-MM-DD.
Project Key The project key identifier (e.g., PROJ, ENG, SALES).
Project ID The unique identifier or name of the Jira project.
Dynamic Fields Dynamic field key/value pairs supplied as JSON. Use a key/value config variable to configure these at deploy time. Each item must contain a key and a value.
Values Additional field names and their values to include when creating or updating the record. Each row is merged into the request payload.