Skip to content
代码片段 群组 项目
未验证 提交 479c5a53 编辑于 作者: Ashraf Khamis's avatar Ashraf Khamis 提交者: GitLab
浏览文件

Update troubleshooting docs for Jira Cloud

上级 f6cc2257
No related branches found
No related tags found
无相关合并请求
...@@ -61,7 +61,7 @@ If the issue persists, verify that your self-managed GitLab instance can connect ...@@ -61,7 +61,7 @@ If the issue persists, verify that your self-managed GitLab instance can connect
To test connectivity, run the following command: To test connectivity, run the following command:
```shell ```shell
# A `404` status code is expected because you're not passing a token # A `404 Not Found` is expected because you're not passing a token
curl --head "https://connect-install-keys.atlassian.com" curl --head "https://connect-install-keys.atlassian.com"
``` ```
...@@ -77,7 +77,7 @@ To resolve this issue on your self-managed GitLab instance: ...@@ -77,7 +77,7 @@ To resolve this issue on your self-managed GitLab instance:
- GitLab.com (if you [installed the app from the official Atlassian Marketplace listing](jira_cloud_app.md#connect-the-gitlab-for-jira-cloud-app)). - GitLab.com (if you [installed the app from the official Atlassian Marketplace listing](jira_cloud_app.md#connect-the-gitlab-for-jira-cloud-app)).
- Jira Cloud (if you [installed the app manually](jira_cloud_app.md#install-the-gitlab-for-jira-cloud-app-manually)). - Jira Cloud (if you [installed the app manually](jira_cloud_app.md#install-the-gitlab-for-jira-cloud-app-manually)).
- Ensure the token request sent to the `/-/jira_connect/events/installed` endpoint when you install the app is accessible from Jira. - Ensure the token request sent to the `/-/jira_connect/events/installed` endpoint when you install the app is accessible from Jira.
The following `curl` command must return a `401` status code: The following command should return a `401 Unauthorized`:
```shell ```shell
curl --include --request POST "https://gitlab.example.com/-/jira_connect/events/installed" curl --include --request POST "https://gitlab.example.com/-/jira_connect/events/installed"
...@@ -194,8 +194,8 @@ Each `GET` request to the Jira Connect Proxy URL `https://gitlab.com/-/jira_conn ...@@ -194,8 +194,8 @@ Each `GET` request to the Jira Connect Proxy URL `https://gitlab.com/-/jira_conn
For the first log: For the first log:
- `json.status` is `422`. - `json.status` is `422 Unprocessable Entity`.
- `json.params.value` should match the GitLab self-managed URL `[[FILTERED], {"instance_url"=>"https://gitlab.example.com"}]`. - `json.params.value` should match the self-managed GitLab URL `[[FILTERED], {"instance_url"=>"https://gitlab.example.com"}]`.
For the second log, you might have one of the following scenarios: For the second log, you might have one of the following scenarios:
...@@ -203,8 +203,8 @@ For the second log, you might have one of the following scenarios: ...@@ -203,8 +203,8 @@ For the second log, you might have one of the following scenarios:
- `json.message`, `json.jira_status_code`, and `json.jira_body` are present. - `json.message`, `json.jira_status_code`, and `json.jira_body` are present.
- `json.message` is `Proxy lifecycle event received error response` or similar. - `json.message` is `Proxy lifecycle event received error response` or similar.
- `json.jira_status_code` and `json.jira_body` might contain the response received from the self-managed instance or a proxy in front of the instance. - `json.jira_status_code` and `json.jira_body` might contain the response received from the self-managed instance or a proxy in front of the instance.
- If `json.jira_status_code` is `401` and `json.jira_body` is empty, [**Jira Connect Proxy URL**](jira_cloud_app.md#set-up-your-instance) might not be set to - If `json.jira_status_code` is `401 Unauthorized` and `json.jira_body` is empty,
`https://gitlab.com`. [**Jira Connect Proxy URL**](jira_cloud_app.md#set-up-your-instance) might not be set to `https://gitlab.com`.
- Scenario 2: - Scenario 2:
- `json.exception.class` and `json.exception.message` are present. - `json.exception.class` and `json.exception.message` are present.
- `json.exception.class` and `json.exception.message` contain whether an issue occurred while contacting the self-managed instance. - `json.exception.class` and `json.exception.message` contain whether an issue occurred while contacting the self-managed instance.
......
...@@ -126,5 +126,5 @@ Failed to link group. Please try again. ...@@ -126,5 +126,5 @@ Failed to link group. Please try again.
A `403 Forbidden` is returned if the user information cannot be fetched from Jira because of insufficient permissions. A `403 Forbidden` is returned if the user information cannot be fetched from Jira because of insufficient permissions.
To resolve this issue, ensure the Jira user that installs and configures the app meets certain To resolve this issue, ensure you meet certain
[requirements](../../administration/settings/jira_cloud_app.md#jira-user-requirements). [Jira user requirements](../../administration/settings/jira_cloud_app.md#jira-user-requirements).
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册