Skip to content

Jira Integration | Detect Cloud deployment via serverInfo API instead…#668

Open
Chennoy wants to merge 1 commit intoaquasecurity:postee-for-enterprisefrom
Chennoy:fix/jira-deployment-check
Open

Jira Integration | Detect Cloud deployment via serverInfo API instead…#668
Chennoy wants to merge 1 commit intoaquasecurity:postee-for-enterprisefrom
Chennoy:fix/jira-deployment-check

Conversation

@Chennoy
Copy link
Copy Markdown
Contributor

@Chennoy Chennoy commented Apr 16, 2026

Jira Cloud instances with custom domains (not ending in "atlassian.net") were misclassified as Server type deployement, causing user search and PAT validation to use the wrong API paths. Replaced the URL-based check with a /rest/api/2/serverInfo probe that reads the deploymentType field from the API. The URL check is kept as a fallback when the probe fails, preserving backward compatibility. Also refactored Init() to share a single client across the serverInfo probe and board fetch.

… of URL suffix

Jira Cloud instances with custom domains (not ending in "atlassian.net") were misclassified as Server type deployement, causing user search and PAT validation to use the wrong API paths. Replaced the URL-based check with a /rest/api/2/serverInfo probe that reads the deploymentType field from the API. The URL check is kept as a fallback when the probe fails, preserving backward compatibility. Also refactored Init() to share a single client across the serverInfo probe and board fetch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants