Uh oh!
There was an error while loading. Please reload this page.
feat(jira): add search_users tool for user lookup by email - #3451
Conversation
PR SummaryMedium Risk Overview Wires a new Search Users operation into the Jira block UI/param mapping, exports/registers the tool in the Jira barrel and global Written by Cursor Bugbot for commit 1bbeee4. Configure here. |
The latest updates on your projects. Learn more about Vercel for GitHub. |
Uh oh!
There was an error while loading. Please reload this page.
Greptile SummaryThis PR adds a Key points:
Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant UI as Jira Block UI
participant FW as Tool Framework
participant ST as search_users.ts
participant AO as Atlassian OAuth API
participant AJ as Atlassian Jira API
UI->>FW: Operation = "search_users" (query, maxResults, startAt)
FW->>FW: Build params via tool() config handler
alt cloudId provided
FW->>AJ: GET /ex/jira/{cloudId}/rest/api/3/user/search?query=...
AJ-->>FW: HTTP Response (array of users)
FW->>ST: transformResponse(response, params)
ST->>ST: response.ok check
ST->>ST: data = response.json()
else cloudId not provided
FW->>AO: GET /oauth/token/accessible-resources
AO-->>FW: HTTP Response (resources list)
FW->>ST: transformResponse(response, params)
ST->>AO: GET /oauth/token/accessible-resources (via getJiraCloudId)
AO-->>ST: resources list
ST->>ST: Find cloudId by domain
ST->>AJ: GET /ex/jira/{cloudId}/rest/api/3/user/search?query=...
AJ-->>ST: array of users
end
ST->>ST: filter(Boolean), map with transformUser
ST-->>FW: { success, output: { ts, users[], total, startAt, maxResults } }
FW-->>UI: Result
Last reviewed commit: 1bbeee4 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
waleedlatif1
commented
Mar 7, 2026
waleedlatif1
commented
Mar 7, 2026
@cursor review |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
waleedlatif1
commented
Mar 7, 2026
waleedlatif1
commented
Mar 7, 2026
@cursor review |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
waleedlatif1
commented
Mar 7, 2026
waleedlatif1
commented
Mar 7, 2026
@cursor review |
Uh oh!
There was an error while loading. Please reload this page.
Summary
jira_search_userstool to look up Jira users by email or display name viaGET /rest/api/3/user/searchType of Change
Testing
Tested manually
Checklist