-
Type:
Suggestion
-
Resolution: Unresolved
-
Component/s: Admin - Settings - Rovo
-
None
Issue Summary
Currently, the atlassianUserInfo tool in the Atlassian Rovo MCP Server returns different response payloads depending on the authentication method used to connect:
- OAuth 2.1: Returns a full user profile including account_id, displayName, emailAddress, timezone, locale, and avatarUrls
- API Token (Basic Auth): Returns only account_id
This inconsistency occurs because OAuth carries enriched identity context as part of its authentication flow (token exchange resolves the full user profile), while API token authentication validates the credential without performing additional profile resolution. The atlassianUserInfo tool returns what is already available in the authentication context without making a supplementary API call (e.g., GET /rest/api/3/myself) to hydrate the full profile for API token connections.
This is not a bug in the underlying REST API, calling GET /rest/api/3/myself directly with an API token returns the full profile as expected. The gap is in how the MCP Server's atlassianUserInfo tool surfaces identity data per auth method.
Customer Use Case
A customer connecting to the Rovo MCP Server via API Token (Basic Auth) for machine-to-machine integrations needs to:
- Confirm the identity of the authenticated user (e.g., distinguish between a personal account and a service account) without making secondary lookup calls
- Rely on a predictable, consistent response schema from atlassianUserInfo regardless of auth method
- Avoid implementing workarounds (e.g., calling lookupJiraAccountId or direct REST calls) to obtain basic profile information
Currently, consumers cannot build reliable integrations that support both auth methods because the tool's response shape is unpredictable, requiring conditional logic or fallback calls depending on how the connection was established.
Expected Results
The atlassianUserInfo tool should:
- Return a normalized response including at minimum account_id, displayName, and emailAddress regardless of authentication method — by performing an additional profile resolution call (e.g., GET /rest/api/3/myself) when the auth context does not already include enriched identity data
- Document clearly in the tool's description what fields are guaranteed vs. optional, and any behavioral differences per auth method if full normalization is not feasible
- If profile fields are unavailable due to account type restrictions (e.g., service accounts with sparse profiles), return those fields as null rather than omitting them entirely so consumers can distinguish between "field not available for this account" vs. "field not returned by this auth method"