Skip to content

Jira Cloud incompatibility: search_users fails with 'username' not supported in GDPR strict mode #51

@Ujebhopshealthcare

Description

@Ujebhopshealthcare

Description

When running against Jira Cloud, the get_users method fails because Jira Cloud no longer supports the username parameter (GDPR strict mode).

Steps to Reproduce

  1. Configure Jira Cloud credentials (URL, username, API token).
  2. Call jira.search_users(user=".", includeInactive=True, ...).
  3. Receive error: JiraError HTTP 400: The query parameter 'username' is not supported in GDPR strict mode.

Expected Behavior

The client should use the accountId parameter instead of username, which is required on Jira Cloud.

Environment

  • Jira: Cloud (version: 1001.0.0-SNAPSHOT, deploymentType: Cloud)
  • jira-python version: 3.10.5
  • Python version: Python3.13
  • OS: "24.04.2 LTS"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions