TT-17162: support scoped tokens for branch suggestion#123
Conversation
olamilekan000
commented
May 8, 2026
|
This pull request updates the branch suggestion workflow to use scoped Jira API tokens, enhancing security by replacing the previous authentication method. This is a breaking change that requires consumers of the workflow to update their repository secrets. Files Changed AnalysisThe changes are primarily within the
Architecture & Impact Assessment
Authentication FlowsequenceDiagram
participant User Repo
participant Workflow
participant Jira Script
participant Atlassian API
User Repo->>Workflow: Trigger on PR event
Workflow->>Jira Script: Execute with JIRA_READ_AUTH & JIRA_BASE_URL
Jira Script->>Atlassian API: GET /ex/jira/{cloudId}/rest/api/3/issue/{key}
Note over Jira Script,Atlassian API: Auth: Basic base64(email:token)<br/>Endpoint from JIRA_BASE_URL
Atlassian API-->>Jira Script: Return issue data
Jira Script-->>Workflow: Return fix versions
Workflow->>User Repo: Post PR comment with suggestions
Scope Discovery & Context ExpansionThe changes are well-contained within the A minor limitation remains: the Jira site URL (for generating browsable links in script output) is still hardcoded in Metadata
Powered by Visor from Probelabs Last updated: 2026-05-11T11:24:51.675Z | Triggered by: pr_updated | Commit: 7962cbd 💡 TIP: You can chat with Visor using |
Security Issues (1)
Architecture Issues (1)
✅ Performance Check PassedNo performance issues found – changes LGTM. Quality Issues (1)
Powered by Visor from Probelabs Last updated: 2026-05-11T11:24:40.888Z | Triggered by: pr_updated | Commit: 7962cbd 💡 TIP: You can chat with Visor using |
0b522e3 to
62cef3e
Compare
c427fab to
588c490
Compare
🎯 Recommended Merge TargetsBased on JIRA ticket TT-17162: Use scoped Jira API tokens for branch suggestion workflow 📋 Workflow
|
588c490 to
7962cbd
Compare