Jira
Port's Jira Cloud integration brings Jira Cloud resources into your context lake so people and agents can query them.
Core support
This integration is designed for Jira Cloud. For Jira Server (self-hosted), use Port's Jira Server Ocean integration.
Setup
Choose one of the following installation methods: Not sure which method is right for your use case? Check the available installation methods.
The prerequisites required for installation are listed below.
API token
Atlassian is deprecating API tokens without scopes in favor of scoped tokens. Use the appropriate base URL for your token type:
- Scoped tokens: Use
https://api.atlassian.com/ex/jira/{cloudid}. Find your Cloud ID here. - Unscoped tokens: Use
https://{your-domain}.atlassian.net/rest.
Scoped tokens are currently not supported for webhook registration. To enable real-time updates, configure webhooks manually or use an unscoped token.
Required API token scopes (click to expand)
read:account— Read basic Atlassian profile to map actions and audit trails.read:jira-user— View user profiles (names, emails) to resolve assignees/reporters.read:jira-work— View projects, issues, attachments, comments for syncing data.write:jira-work— Create/update issues and comments for workflows and legacy self-service actions.manage:jira-project— Manage project-level configuration (components, versions, fields).manage:jira-webhook— Register webhooks for real-time change detection.
-
A Kubernetes cluster - the integration's container chart will be deployed to this cluster.
-
kubectlandhelmmust be installed on your machine. YourkubectlCLI must be connected to the Kubernetes cluster where you plan to install the integration.
API token
Atlassian is deprecating API tokens without scopes in favor of scoped tokens. Use the appropriate base URL for your token type:
- Scoped tokens: Use
https://api.atlassian.com/ex/jira/{cloudid}. Find your Cloud ID here. - Unscoped tokens: Use
https://{your-domain}.atlassian.net/rest.
Scoped tokens are currently not supported for webhook registration. To enable real-time updates, configure webhooks manually or use an unscoped token.
Required API token scopes (click to expand)
read:account— Read basic Atlassian profile to map actions and audit trails.read:jira-user— View user profiles (names, emails) to resolve assignees/reporters.read:jira-work— View projects, issues, attachments, comments for syncing data.write:jira-work— Create/update issues and comments for workflows and legacy self-service actions.manage:jira-project— Manage project-level configuration (components, versions, fields).manage:jira-webhook— Register webhooks for real-time change detection.
Teams API siteId (Jira integration 0.18.3+)
Atlassian requires a site ID (siteId, the same value as your Jira site’s cloud ID) on Teams public API requests. Without it, team sync fails with HTTP 400. See Atlassian’s announcement.
The Jira integration sends siteId automatically when you sync the team kind. You do not need extra mapping changes.
Required for teams
| Setting | Purpose |
|---|---|
atlassianOrganizationId | Your Atlassian organization ID (from admin.atlassian.com, URL path .../o/<organization-id>/...). Required to sync teams and members. How to find it. |
This is not the same as the site / cloud ID.
Optional override
| Setting | Purpose |
|---|---|
atlassianSiteId | Jira cloud site ID used as siteId on Teams API calls. Usually resolved automatically from jiraHost (OAuth cloud ID or /_edge/tenant_info). Set only if automatic resolution fails or you use a custom Jira URL. How to find your cloud ID. |
API token
Atlassian is deprecating API tokens without scopes in favor of scoped tokens. Use the appropriate base URL for your token type:
- Scoped tokens: Use
https://api.atlassian.com/ex/jira/{cloudid}. Find your Cloud ID here. - Unscoped tokens: Use
https://{your-domain}.atlassian.net/rest.
Scoped tokens are currently not supported for webhook registration. To enable real-time updates, configure webhooks manually or use an unscoped token.
Required API token scopes (click to expand)
read:account— Read basic Atlassian profile to map actions and audit trails.read:jira-user— View user profiles (names, emails) to resolve assignees/reporters.read:jira-work— View projects, issues, attachments, comments for syncing data.write:jira-work— Create/update issues and comments for workflows and legacy self-service actions.manage:jira-project— Manage project-level configuration (components, versions, fields).manage:jira-webhook— Register webhooks for real-time change detection.
Teams API siteId (Jira integration 0.18.3+)
Atlassian requires a site ID (siteId, the same value as your Jira site’s cloud ID) on Teams public API requests. Without it, team sync fails with HTTP 400. See Atlassian’s announcement.
The Jira integration sends siteId automatically when you sync the team kind. You do not need extra mapping changes.
Required for teams
| Setting | Purpose |
|---|---|
atlassianOrganizationId | Your Atlassian organization ID (from admin.atlassian.com, URL path .../o/<organization-id>/...). Required to sync teams and members. How to find it. |
This is not the same as the site / cloud ID.
Optional override
| Setting | Purpose |
|---|---|
atlassianSiteId | Jira cloud site ID used as siteId on Teams API calls. Usually resolved automatically from jiraHost (OAuth cloud ID or /_edge/tenant_info). Set only if automatic resolution fails or you use a custom Jira URL. How to find your cloud ID. |
- Go to the Jira Connectors page in the Port app.
- Under
Select your installation method, chooseHosted by Port. - Click
Connectto authorize Port via OAuth and install the integration.
Before clickingConnect, you can customize settings underAdvanced configuration(see below for details).
Advanced configuration
- During the installation process each integration may have additional settings under the
Advanced configurationsection in Port's UI. Additionally, each integration has one or more settings that can be configured after installation. To do so, click on the integration's name in the Connectors page and navigate to theSettingtab. Hover over the ⓘ icon next to each setting to see more details about it.
Port source IP addresses
When using this installation method, Port will make outbound calls to your 3rd-party applications from static IP addresses. You may need to add these addresses to your allowlist, in order to allow Port to interact with the integrated service:
- Europe (EU):
54.73.167.226,63.33.143.237,54.76.185.219 - United States (US):
3.234.37.33,54.225.172.136,3.225.234.99
Answers to common questions about OAuth integrations can be found here:
OAuth integrations FAQ
The access level of the user who authorizes the connection determines the data Port can fetch:
- With admin-level access, Port can fetch all project data.
- With restricted access, Port can fetch only the data available to that user.
Token-Based Installation requires users to manually generate and provide tokens, offering control over permissions but increasing the risk of setup errors. OAuth2 Installation automates the process, simplifying setup and reducing errors while aligning access levels with the user's permissions.
There is no limit to the number of OAuth connections you can create for integrations or organizations.
The provider displays the exact permissions when you connect it. Port requests read and write access so the resulting secrets can also support workflows and legacy self-service actions, such as creating Jira tickets.
OAuth tokens are refreshed automatically by Port, including before manual syncs. If you encounter an HTTP 401 unauthorized error, try running a manual resync or wait for the next scheduled sync, and the issue will resolve itself. If the error persists, please contact our support team.
- Deleting an OAuth2-based installation will not revoke access to the third-party service.
- Port will delete the OAuth secret, which prevents it from utilizing the connection for future syncs.
- If you reinstall the integration, you will need to reconnect OAuth.
- Actions relying on the deleted secret (e.g., creating a Jira ticket) will fail until the secret is recreated or the integration is reinstalled.
Yes — after you authorize the integration in the Port UI, import it with terraform import and set installation_type = "SaasOAuth2". Terraform cannot create OAuth installs. You can manage mappings (config) and optional appSpec toggles; OAuth credentials (integrationSpec) stay Port-managed. See Manage integrations.
Limitations for OAuth-based installations
- Due to restrictions on the Jira OAuth Dynamic Webhooks API, Only issue related live events are supported.
- Due to restrictions on the Jira OAuth2 App, Only a single(first) OAuth Jira installation will receive live events.
- Due to restrictions on the Jira OAuth2 App, webhooks are not deleted when the app is deleted. To replace the webhook destination, contact support.
- If the account password used for OAuth authentication changes, the integration must be reinstalled because the API token is tied to the account's credentials.
-
Go to the Jira Connectors page in Port.
-
Under
Select your installation method, chooseHosted by Port. -
Configure the
Installation parametersandAdvanced configurationas you wish (see below for details).
Installation parameters
Each integration requires specific parameters (such as an API token, a URL, etc.), as seen in Port's UI when installing it. Hover over the ⓘ icon next to each parameter to see more details about it.
Advanced configuration
- During the installation process each integration may have additional settings under the
Advanced configurationsection in Port's UI. Additionally, each integration has one or more settings that can be configured after installation. To do so, click on the integration's name in the Connectors page and navigate to theSettingtab. Hover over the ⓘ icon next to each setting to see more details about it.
Port secrets
Some integration settings require sensitive pieces of data, such as tokens. For these settings, Port secrets will be used, ensuring that your sensitive data is encrypted and secure.
When filling in such a setting, its value will be obscured (shown as ••••••••).
For each such setting, Port will automatically create a secret in your organization.
To see all secrets in your organization, follow these steps.
Port source IP addresses
When using this installation method, Port will make outbound calls to your 3rd-party applications from static IP addresses. You may need to add these addresses to your allowlist, in order to allow Port to interact with the integrated service:
- Europe (EU):
54.73.167.226,63.33.143.237,54.76.185.219 - United States (US):
3.234.37.33,54.225.172.136,3.225.234.99
-
Go to the Jira Connectors page in the Port app.
-
Select the
Self-hostedmethod. -
A
helmcommand will be displayed, with default values already filled out (e.g. your Port client ID, client secret, etc). Copy the command, replace the placeholders with your values, then run it in your terminal to install the integration.
Required parameters:
port.clientId- Your port client id.port.clientSecret- Your port client secret.port.baseUrl- Your Port API URL -https://api.port.iofor EU,https://api.us.port.iofor US.integration.secrets.atlassianUserEmail- The email of the user used to query Jira.integration.secrets.atlassianUserToken- Jira API token generated by the user. Make sure to configure the required scopes.integration.config.jiraHost- The URL of your Jira. Example:https://example.atlassian.net.integration.config.appHost- The host of the Port Ocean app. Used to set up the integration endpoint as the target for webhooks created in Jira. Example:https://my-ocean-integration.com.integration.eventListener.type- The event listener type. Read more about event listeners.integration.type- The integration to be installed.
Optional parameters (click to expand)
integration.config.atlassianOrganizationId- Your Atlassian Organization ID is required to sync teams and team members. Follow the Atlassian documentation on how to find your Organization ID.integration.config.atlassianSiteId- Optional Jira cloud site ID (siteId) for the Teams API. Usually resolved automatically fromjiraHost, set only if team sync fails with HTTP 400 or site ID resolution errors. How to find your cloud ID.scheduledResyncInterval- The number of minutes between each resync. When not set the integration will resync for each event listener resync event. Read more about scheduledResyncInterval.initializePortResources- Default true, When set to true the integration will create default blueprints and the port App config Mapping.sendRawDataExamples- Enable sending raw data examples from the third party API to port for testing and managing the integration mapping. Default is true.
If you're running high volumes of live events in a self-hosted deployment and want better reliability, event durability, or horizontal scalability, you can optionally set up Port's dedicated live events infrastructure. See live events at scale for details.
Recommended resource sizes
To ensure optimal performance and avoid out-of-memory (OOM) errors, we recommend the following resources for this integration:
- CPU Limit:
800m - CPU Request:
200m - Memory Limit:
2Gi - Memory Request:
2Gi
Set resource values
helm install my-integration port-labs/port-ocean \
# ... other parameters
--set resources.limits.cpu=800m \
--set resources.limits.memory=2Gi \
--set resources.requests.cpu=200m \
--set resources.requests.memory=2Gi
Fetching team data using scoped tokens is not supported because the Atlassian Teams API requires permissions unavailable through standard scoped tokens. Use an unscoped token or the webhook method instead.
- GitHub
- Jenkins
- Azure DevOps
- GitLab
- Go to the Jira Connectors page in the Port app.
- Under Select your installation method, choose your desired CI/CD platform.
- Copy the workflow and replace the placeholders with your values.
Below are the available parameters and their descriptions.
| Parameter | Description | Required? | Secret?Store this value as a GitHub Actions secret |
|---|---|---|---|
port_client_id | Your Port client ID (How to get the credentials). | ✓ | ✓ |
port_client_secret | Your Port client secret (How to get the credentials). | ✓ | ✓ |
port_base_url | Your Port API URL (https://api.port.io for EU, https://api.us.port.io for US). | ✓ | ✗ |
jira_host | The URL of your Jira. | ✓ | ✓ |
atlassian_user_email | The email of the user used to query Jira. | ✓ | ✓ |
atlassian_user_token | Jira API token generated by the user. Make sure to configure the required scopes. | ✓ | ✓ |
atlassian_organization_id | Your Atlassian Organization ID is required to sync teams and team members. Follow the Atlassian documentation on how to find your Organization ID. | ✗ | ✗ |
atlassian_site_id | Optional Jira cloud site ID for the Teams API (siteId). Usually resolved automatically from JIRA_HOST, set only if team sync fails. How to find your cloud ID. | ✗ | ✗ |
initialize_port_resources | Default true. When set to true, the integration will create default blueprints and the Port app config mapping. | ✗ | ✗ |
integration_identifier | The identifier of the integration that will be installed. | ✗ | ✗ |
send_raw_data_examples | Enable sending raw data examples from the third-party API to Port for testing and managing the integration mapping. Default is true. | ✗ | ✗ |
Your Jenkins agent must be able to run Docker commands.
Below are the available parameters and their descriptions.
| Parameter | Description | Required? | Secret?Store this value as a Jenkins credential (Secret Text) |
|---|---|---|---|
OCEAN__ | Your Port client ID (How to get the credentials). | ✓ | ✓ |
OCEAN__ | Your Port client secret (How to get the credentials). | ✓ | ✓ |
OCEAN__ | Your Port API URL (https://api.port.io for EU, https://api.us.port.io for US). | ✓ | ✗ |
OCEAN__ | The URL of your Jira. | ✓ | ✓ |
OCEAN__ | The email of the user used to query Jira. | ✓ | ✓ |
OCEAN__ | Jira API token generated by the user. Make sure to configure the required scopes. | ✓ | ✓ |
OCEAN__ | Your Atlassian Organization ID is required to sync teams and team members. Follow the Atlassian documentation on how to find your Organization ID. | ✗ | ✗ |
OCEAN__ | Optional Jira cloud site ID for the Teams API (siteId). Usually resolved automatically from JIRA_HOST, set only if team sync fails. How to find your cloud ID. | ✗ | ✗ |
OCEAN__ | Default true. When set to true, the integration will create default blueprints and the Port app config mapping. | ✗ | ✗ |
OCEAN__ | The identifier of the integration that will be installed. | ✗ | ✗ |
OCEAN__ | Enable sending raw data examples from the third-party API to Port for testing and managing the integration mapping. Default is true. | ✗ | ✗ |
Here is an example for a Jenkinsfile pipeline file:Jenkins pipeline (click to expand)
Prerequisites
- Your Azure Devops agent should be able to run docker commands. Learn more about agents here.
- You must have permissions to create and manage Azure DevOps variable groups for storing credentials.
Set up your credentials
- Create a Variable Group: Name it port-ocean-credentials.
- Store the required variables (see the table below).
- Authorize Your Pipeline:
-
Go to "Library" -> "Variable groups."
-
Find port-ocean-credentials and click on it.
-
Select "Pipeline Permissions" and add your pipeline to the authorized list.
-
Below are the available parameters and their descriptions.
| Parameter | Description | Required? | Secret?Store this value as an Azure DevOps pipeline variable |
|---|---|---|---|
OCEAN__ | Your Port client ID (How to get the credentials). | ✓ | ✓ |
OCEAN__ | Your Port client secret (How to get the credentials). | ✓ | ✓ |
OCEAN__ | Your Port API URL (https://api.port.io for EU, https://api.us.port.io for US). | ✓ | ✗ |
OCEAN__ | The URL of your Jira. | ✓ | ✓ |
OCEAN__ | The email of the user used to query Jira. | ✓ | ✓ |
OCEAN__ | Jira API token generated by the user. Make sure to configure the required scopes. | ✓ | ✓ |
OCEAN__ | Your Atlassian Organization ID is required to sync teams and team members. Follow the Atlassian documentation on how to find your Organization ID. | ✗ | ✗ |
OCEAN__ | Optional Jira cloud site ID for the Teams API (siteId). Usually resolved automatically from JIRA_HOST, set only if team sync fails. How to find your cloud ID. | ✗ | ✗ |
OCEAN__ | Default true. When set to true, the integration will create default blueprints and the Port app config mapping. | ✗ | ✗ |
OCEAN__ | The identifier of the integration that will be installed. | ✗ | ✗ |
OCEAN__ | Enable sending raw data examples from the third-party API to Port for testing and managing the integration mapping. Default is true. | ✗ | ✗ |
Here is an example for a azure-pipeline.yml pipeline file:Azure pipeline (click to expand)
- Go to the Jira Connectors page in the Port app.
- Under Select your installation method, choose your desired CI/CD platform.
- Copy the workflow and replace the placeholders with your values.
Below are the available parameters and their descriptions.
| Parameter | Description | Required? | Secret?Store this value as a GitLab CI/CD variable |
|---|---|---|---|
OCEAN__ | Your Port client ID (How to get the credentials). | ✓ | ✓ |
OCEAN__ | Your Port client secret (How to get the credentials). | ✓ | ✓ |
OCEAN__ | Your Port API URL (https://api.port.io for EU, https://api.us.port.io for US). | ✓ | ✗ |
OCEAN__ | The URL of your Jira. | ✓ | ✓ |
OCEAN__ | The email of the user used to query Jira. | ✓ | ✓ |
OCEAN__ | Jira API token generated by the user. Make sure to configure the required scopes. | ✓ | ✓ |
OCEAN__ | Your Atlassian Organization ID is required to sync teams and team members. Follow the Atlassian documentation on how to find your Organization ID. | ✗ | ✗ |
OCEAN__ | Optional Jira cloud site ID for the Teams API (siteId). Usually resolved automatically from JIRA_HOST, set only if team sync fails. How to find your cloud ID. | ✗ | ✗ |
OCEAN__ | Default true. When set to true, the integration will create default blueprints and the Port app config mapping. | ✗ | ✗ |
OCEAN__ | The identifier of the integration that will be installed. | ✗ | ✗ |
OCEAN__ | Enable sending raw data examples from the third-party API to Port for testing and managing the integration mapping. Default is true. | ✗ | ✗ |
Configuration
Port integrations use a YAML mapping block to ingest data from the third-party api into Port.
The mapping makes use of the JQ JSON processor to select, modify, concatenate, transform and perform other operations on existing fields and values from the integration API.
Default mapping configuration
This is the default mapping configuration for this integration:
Default mapping configuration (click to expand)
deleteDependentEntities: true
createMissingRelatedEntities: true
enableMergeEntity: true
resources:
- kind: user
selector:
query: 'true'
port:
entity:
mappings:
identifier: .accountId
title: .displayName
blueprint: '"jiraUser"'
properties:
emailAddress: .emailAddress
displayName: .displayName
active: .active
accountType: .accountType
- kind: project
selector:
query: 'true'
port:
entity:
mappings:
identifier: .key
title: .name
blueprint: '"jiraProject"'
properties:
url: (.self | split("/") | .[:3] | join("/")) + "/projects/" + .key
- kind: issue
selector:
query: 'true'
jql: (statusCategory != Done) OR (created >= -1w) OR (updated >= -1w)
port:
entity:
mappings:
identifier: .key
title: .fields.summary
blueprint: '"jiraIssue"'
properties:
url: (.self | split("/") | .[:3] | join("/")) + "/browse/" + .key
status: .fields.status.name
issueType: .fields.issuetype.name
components: .fields.components
creator: .fields.creator.emailAddress
priority: .fields.priority.name
labels: .fields.labels
created: .fields.created
updated: .fields.updated
resolutionDate: .fields.resolutiondate
relations:
project: .fields.project.key
parentIssue: .fields.parent.key
subtasks: .fields.subtasks | map(.key)
jira_user_assignee: .fields.assignee.accountId
jira_user_reporter: .fields.reporter.accountId
assignee:
combinator: '"or"'
rules:
- property: '"jira_user_id"'
operator: '"="'
value: .fields.assignee.accountId
- property: '"$identifier"'
operator: '"="'
value: .fields.assignee.email
reporter:
combinator: '"or"'
rules:
- property: '"jira_user_id"'
operator: '"="'
value: .fields.reporter.accountId
- property: '"$identifier"'
operator: '"="'
value: .fields.reporter.email
- kind: issue
selector:
query: 'true'
jql: (statusCategory != Done) OR (created >= -1w) OR (updated >= -1w)
port:
entity:
mappings:
identifier: .key
title: .fields.summary
blueprint: '"jiraIssue"'
relations:
pull_request:
combinator: '"and"'
rules:
- property: '"$title"'
operator: '"contains"'
value: .key
Capabilities
See the capabilities page for more configuration options and examples.
Mapping & selectors per resource
Use the explorer below to view sample payloads and the resulting Port entities for each resource type. For additional resources and advanced configurations, see the examples page.
- kind: user
selector:
query: 'true'
port:
entity:
mappings:
identifier: .accountId
title: .displayName
blueprint: '"jiraUser"'
properties:
emailAddress: .emailAddress
displayName: .displayName
active: .active
accountType: .accountType
{
"accountId": "U-PA",
"accountType": "app",
"active": true,
"avatarUrls": {
"16x16": "https://secure.gravatar.com/avatar/ab3787cd0c16633ae050dff9d5ab15fc?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FS-0.png",
"24x24": "https://secure.gravatar.com/avatar/ab3787cd0c16633ae050dff9d5ab15fc?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FS-0.png",
"32x32": "https://secure.gravatar.com/avatar/ab3787cd0c16633ae050dff9d5ab15fc?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FS-0.png",
"48x48": "https://secure.gravatar.com/avatar/ab3787cd0c16633ae050dff9d5ab15fc?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FS-0.png"
},
"displayName": "AI",
"key": "",
"name": "",
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=U-PA"
},
{
"accountId": "U-PA-2",
"accountType": "app",
"active": true,
"avatarUrls": {
"16x16": "https://secure.gravatar.com/avatar/ab3787cd0c16633ae050dff9d5ab15fc?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FS-0.png",
"24x24": "https://secure.gravatar.com/avatar/ab3787cd0c16633ae050dff9d5ab15fc?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FS-0.png",
"32x32": "https://secure.gravatar.com/avatar/ab3787cd0c16633ae050dff9d5ab15fc?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FS-0.png",
"48x48": "https://secure.gravatar.com/avatar/ab3787cd0c16633ae050dff9d5ab15fc?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FS-0.png"
},
"displayName": "AI-2",
"key": "",
"name": "",
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=U-PA-2"
}
{
"identifier": "U-PA",
"title": "AI",
"team": [],
"properties": {
"accountId": "U-PA",
"displayName": "AI",
"active": true,
"accountType": "app",
"avatarUrl": "https://secure.gravatar.com/avatar/ab3787cd0c16633ae050dff9d5ab15fc?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FS-0.png"
},
"relations": {},
"icon": "User"
}
Set up live events
This integration supports live events, allowing real-time updates to your context lake without waiting for the next scheduled sync.
Note that different events are supported depending on the resource type.
jira:issue_createdjira:issue_updatedjira:issue_deletedjira:version_createdjira:version_updatedjira:version_deletedjira:version_releasedjira:version_unreleasedjira:version_movedjira:issue_createdjira:issue_updatedjira:issue_deletedjira:version_createdjira:version_updatedjira:version_deletedjira:version_releasedjira:version_unreleasedjira:version_movedproject_createdproject_updatedproject_deletedproject_soft_deletedproject_restored_deletedproject_archivedproject_restored_archiveduser_createduser_updateduser_deleted- Hosted by Port
- Self-hosted
Live events base URL
For integrations installed using the Hosted by Port method, you can obtain the live events base URL from the Get an integration API. The response includes liveEventsUuid and liveEventsIngestHostname in the appSpec section.
Call the endpoint with your integration's identifier:
curl -X GET \
'https://api.port.io/v1/integration/<INTEGRATION_IDENTIFIER>' \
-H 'Authorization: Bearer <PORT_ACCESS_TOKEN>'
The port_region, port.baseUrl, portBaseUrl, port_base_url and OCEAN__PORT__BASE_URL parameters select which Port API instance to use:
- EU (app.port.io) →
https://api.port.io - US (app.us.port.io) →
https://api.us.port.io
In the response, look for the following fields under spec.appSpec:
{
"spec": {
"appSpec": {
"liveEventsUuid": "abcdefghijk",
"liveEventsIngestHostname": "ingest.ocean.getport.io"
}
}
}
Combine them to build the live events base URL:
https://<liveEventsIngestHostname>/live-events/<liveEventsUuid>
For example, with the values above, the live events base URL is:
https://ingest.ocean.getport.io/live-events/abcdefghijk
This is the same URL configured for the integration.
BaseUrl & webhook configuration
To enable real-time updates of the data in your context lake, you need to define the liveEvents.baseUrl parameter.
This parameter should be set to the URL of your Jira integration instance, which needs to have the option to setup webhooks via HTTP requests/receive HTTP requests, so ensure the network is configured accordingly.
- If Jira and the integration are in the same cluster/network: Use an internal URL (e.g., a Kubernetes service DNS name).
For Kubernetes deployments, create a service to expose the integration pod and use the service URL asliveEvents.baseUrl. If both the source system and integration are in the same cluster, an internal ClusterIP service is sufficient. - If Jira is external to the integration's network: The integration must be exposed via an ingress, load balancer, or public URL that Jira can reach.
If you're running high volumes of live events in a self-hosted deployment and want better reliability, event durability, or horizontal scalability, you can optionally set up Port's dedicated live events infrastructure. See live events at scale for details.
If liveEvents.baseUrl is not provided, the integration will continue to function correctly. In such a configuration, to retrieve the latest information from the target system, the scheduledResyncInterval parameter has to be set, or a manual resync will need to be triggered through Port's UI.
To test webhooks or live event delivery to your local environment, expose your local pod or service to the internet using ngrok (e.g. ngrok http http://localhost:8000)
Monitoring and sync status
To learn more about how to monitor and check the sync status of your integration, see the relevant documentation.
Limitations
Getting user emails
By default, Jira does not include user emails in API responses. To enable this:
- Go to the Jira admin panel and verify your domain under Settings > Domains.
- After verification, claim your user accounts under the same Domains section.
Once complete, Jira API responses will include the emailAddress field. See Jira's documentation for full details.
Examples
To view and test the integration's mapping against examples of the third-party API responses, use the jq playground in your connectors page. Find the integration in the list of connectors and click on it to open the playground.
Additional examples of blueprints and the relevant integration configurations can be found on the jira examples page
Relevant Guides
For relevant guides and examples, see the guides section.