You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/software-engineering-insights/shared/integrations/jira.mdx
+69-66Lines changed: 69 additions & 66 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,48 +16,86 @@ import TabItem from '@theme/TabItem';
16
16
17
17
Jira is a proprietary issue-tracking product that allows bug tracking and agile project management. You can connect Harness SEI to Jira using a Harness Jira integration.
18
18
19
-
###Authenticate with Jira
19
+
## Authenticate with Jira
20
20
21
-
Before you configure the SEI Jira integration, you must generate an Atlassian API token.
21
+
Before you configure the SEI Jira integration, [create a classic API token without scopes](https://id.atlassian.com/manage-profile/security/api-tokens) for a Jira Cloud user account. For more information, see the [official Jira documentation](https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/).
22
22
23
-
:::tip Use a service account
24
-
The user creating the token must have read access to all projects that you want SEI to track, and the user must be able to search issues within the SEI-relevant projects.
23
+
:::tip Use a Jira user account
24
+
The user creating the token must have the **Browse Projects**, **View Aggregated Data**, **Browse Users**, and **User Picker**[permissions](https://support.atlassian.com/jira/kb/how-to-determine-project-visibility-in-jira-cloud-using-user-permissions/) for all projects that you want SEI 2.0 to track and search issues within relevant projects.
25
25
26
-
Due to the scope of visibility required, consider using a managed service account, rather than a personal user account, to create the token.
26
+
Use a Jira user account with a classic API token without scopes. Scoped API tokens are not supported.
27
+
28
+
Service accounts cannot be used to authenticate the SEI Jira integration. The API token must be generated from a standard Jira user account with the required permissions.
27
29
:::
28
30
29
-
1. Create an Atlassian API token. For instructions, go to the Atlassian documentation on [Managing API tokens for your Atlassian account](https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/).
30
-
2. Make sure to copy the token somewhere that you can retrieve it when you configure the integration.
31
+
<imgsrc={apiToken}alt="API Token"width="600" />
31
32
32
-
<imgsrc={apiToken}alt="API Token"width="500" />
33
+
Make sure to copy the token somewhere that you can retrieve it when you configure the integration.
33
34
34
35
:::info
35
36
If you have enabled an allow list in your Atlassian account, certain Harness IP addresses must be added to it in order to allow communication between the Harness Platform and Atlassian. If the necessary IPs are not whitelisted, the integration may fail to authenticate or sync data properly.
36
37
37
-
To ensure your integration can work correctly, please refer to the list of [Harness Platform IPs](/docs/platform/references/allowlist-harness-domains-and-ips) that may need to be whitelisted in your firewall.
38
+
To ensure your integration can work correctly, refer to the list of [Harness Platform IPs](/docs/platform/references/allowlist-harness-domains-and-ips) that may need to be whitelisted in your firewall.
38
39
:::
39
40
40
-
### Add the Jira integration
41
+
## Add the Jira by Atlassian integration
42
+
43
+
To integrate with Jira Cloud in SEI 2.0:
44
+
45
+
1. From the SEI navigation menu, navigate to **Account Management** > **Integrations** under **Data Settings**.
46
+
1. Navigate to the **Available Integrations** tab, locate the **Jira by Atlassian** integration, and click **Add Integration**.
47
+
1. Select a Jira type: [Jira Software Cloud](#add-the-jira-integration) or [Jira Data Center](/docs/software-engineering-insights/harness-sei/setup-sei/configure-integrations/jira/jira-data-center).
48
+
49
+
<imgsrc={jiraType}alt="JIRA Type"width="600" />
50
+
51
+
1. If you select **Jira Software Cloud**, you can click **Using Jira API Token** or **Using Jira Connect App** (deprecated).
52
+
53
+
:::info Using Jira API Token
54
+
Harness recommends using token-based authentication to integrate Jira Cloud with SEI 2.0. The Jira Connect App–based integration has been deprecated and should only be used for existing setups.
<TabItemvalue="api-key"label="Using Jira API Token">
41
62
42
-
To integrate SEI with Jira, you must choose your Jira type:
63
+
:::warning Reauthenticate Jira Cloud Using a Token-based Integration
64
+
The **Using Jira Connect App** method is no longer supported. You can re-authenticate the Jira Cloud integration by using a [classic unscoped API token](#authenticate-with-jira). Scoped API tokens are not supported.
43
65
44
-
*[Jira Cloud](#add-the-jira-integration)
45
-
*[Jira Data Center](/docs/software-engineering-insights/propelo-sei/setup-sei/configure-integrations/jira/jira-data-center)
66
+
The token must be created for a Jira user account. The user account must have the **Browse Projects**, **View Aggregated Data**, **Browse Users**, and **User Picker**[permissions](https://support.atlassian.com/jira/kb/how-to-determine-project-visibility-in-jira-cloud-using-user-permissions/) to be able to read/search issues and access all Jira projects you want SEI 2.0 to track. Service accounts are not supported.
67
+
:::
46
68
47
-
<imgsrc={jiraType}alt="JIRA Type"width="600" />
69
+
To set up the integration using a Jira API token:
48
70
49
-
For the Jira type as Cloud, you can choose how you want to connect Jira, i.e.:
71
+
1. Select the **Using Jira API Token** tile to set up the connection with Jira.
72
+
1. Configure the integration settings in the **Overview** section:
73
+
* Add a name for the integration.
74
+
* Optionally, add a description for the integration.
75
+
* Optionally, add tags for the integration.
76
+
1. Click **Next**.
77
+
1. Provide the Jira Cloud credentials in the **Configure Jira Authentication** section:
78
+
* Add the **URL** of your **Jira** integration instance, for example, `"https://organization.atlassian.net"`.
79
+
* Enter the email address associated with your Atlassian user account.
80
+
* Provide the API token generated for that account.
50
81
51
-
* Jira Connect App
52
-
* Jira API Token
82
+
<imgsrc={apiKeyCloud}alt="API Key "width="600" />
83
+
1. Click **Validate Credentials**.
84
+
1. Configure the advanced integration settings if required:
85
+
* Select your preferred **Time Zone** from the available options.
86
+
* Choose the fields you wish to exclude from ingestion.
87
+
88
+
You might exclude fields containing sensitive information such as **Summary**, **Description**, and **Comments**. Excluded fields will not be evaluated for hygiene or adherence to best practices.
1. Click on **Validate Connection** to validate the connection, and once successful, you'll have the integration set up under the **Your Integrations** tab.
For organizations that have [deprecated Connect Apps](https://www.atlassian.com/blog/developer/announcing-connect-end-of-support-timeline-and-next-steps), see the **Using Jira API Token** tab to connect Jira Cloud.
97
+
:::danger Use Jira API Token Instead
98
+
[Jira Connect App](https://www.atlassian.com/blog/developer/announcing-connect-end-of-support-timeline-and-next-steps) is no longer supported. For existing organizations using the Jira Connect App method, see the **Using Jira API Token** tab to re-authenticate Jira Cloud with a token-based integration.
61
99
:::
62
100
63
101
The Jira Connect App facilitates a seamless connection to Jira projects with minimal user intervention, requiring Jira admin configuration for the app.
@@ -74,18 +112,15 @@ The following permissions are required to configure the **Jira Connect App** int
74
112
75
113
To set up the integration using the **Jira Connect App**:
76
114
77
-
1. Select **Integrations** under **Data Settings**.
78
-
2. Select **Available Integrations**, locate the **Jira integration**, and select **Install**.
79
-
3. Select **Jira Software Cloud** as the integration type.
80
-
4. Select the **Jira Connect App** tile to set up the connection with Jira.
81
-
5. In the Jira Connect App settings page add the basic overview information:
115
+
1. Select the **Jira Connect App** tile to set up the connection with Jira.
116
+
1. In the Jira Connect App settings page, add the basic overview information:
82
117
***Integration Name:** Name for your integration.
83
118
***Description (optional):** Add a description for the integration.
84
119
***Tags (optional):** Add tags for the integration if required.
6. Install the Jira Connect App. To do this, follow these simple steps:
123
+
1. Install the Jira Connect App. To do this, follow these simple steps:
89
124
* Verify that you are an owner of the Jira account where you track issues. An easy way to check is to visit your organization page and verify that the organization is listed.
90
125
* Go to the **Atlassian Marketplace** to install the app and configure the [SEI app](https://marketplace.atlassian.com/apps/1231375/harness-software-engineering-insights-sei?tab=overview\&hosting=cloud) to access the Jira projects.
91
126
***Install** the App.
@@ -110,51 +145,19 @@ To set up the integration using the **Jira Connect App**:
110
145
The key expires after 10 minutes, so generate a new key if the current one expires.
111
146
:::
112
147
113
-
7. Click on **Validate Connection** to validate the connection, and once successful, you'll have the integration set up under the **Your Integrations** tab.
114
-
115
-
</TabItem>
116
-
117
-
<TabItemvalue="api-key"label="Using Jira API Token">
118
-
119
-
Before you configure the SEI Jira integration, you must generate an Atlassian API token.
120
-
121
-
To set up the integration using the Jira API Token:
122
-
123
-
1. Select **Integrations** under **Data Settings**.
124
-
2. Select **Available Integrations**, locate the **Jira integration**, and select **Install**.
125
-
3. Select Jira Software Cloud as the integration type.
126
-
4. Select the Using Jira API Token tile to set up the connection with Jira.
127
-
5. Configure the integration settings and authentication:
128
-
* Integration Name: Name for your integration.
129
-
* Description (optional): Add a description for the integration.
130
-
* Tags (optional): Add tags for the integration if required.
131
-
* Add the **URL** of your **Jira** integration instance, for example, `"https://organization.atlassian.net"`. Make sure it's a valid URL.
132
-
* Enter your Email address for the Atlassian account
133
-
* Provide the **API Key** that you previously generated for your Atlassian account.
134
-
135
-
<imgsrc={apiKeyCloud}alt="API Key "width="600" />
136
-
137
-
7. Configure the advanced integration settings if required:
138
-
* Select your preferred **Time Zone** from the available options.
139
-
* Choose the fields you wish to exclude from ingestion.
140
-
141
-
You might exclude fields containing sensitive information such as **Summary**, **Description**, and **Comments**. Excluded fields will not be evaluated for hygiene or adherence to best practices.
8. Click on **Validate Connection** to validate the connection, and once successful, you'll have the integration set up under the **Your Integrations** tab.
148
+
1. Click **Validate Connection** to validate the connection, and once successful, you'll have the integration set up under the **Your Integrations** tab.
146
149
147
150
</TabItem>
148
151
</Tabs>
149
152
150
153
:::info
151
-
After adding an integration, it may take up to 24 hours for the data to reflect on Harness SEI. This means that any widgets you configure on the Insights page using this integration may not display data until the synchronization is completed.
154
+
After adding an integration, it may take up to 24 hours for the data to reflect in Harness SEI. This means that any widgets you configure on the Insights page using this integration may not display data until the synchronization is completed.
152
155
:::
153
156
154
-
### See also
157
+
##Further Reading
155
158
156
-
*[Connect with Jira Data Center](/docs/software-engineering-insights/propelo-sei/setup-sei/configure-integrations/jira/jira-data-center)
0 commit comments