-
Suggestion
-
Resolution: Fixed
-
1
-
8
-
For the activity stream, we use to be able to filter the API result with the username parameter. But since the changes for GDPR Deprecation notice and migration guide for major changes to Jira Cloud REST APIs to improve user privacy
The username parameter has been removed from the API and we no longer have the ability to filter the result by username
Old behavior
The API can be filtered using the username as below:
https://<instance name>.atlassian.net/activity?streams=user+IS+<Username>&maxResults=100&os_Basic
Suggestion
Ability to filter the API by account ID for instance
https://<instance name>.atlassian.net/activity?streams=accountId=<Account ID>&maxResults=100&os_Basic
Form Name |
---|
Hey 0de38b1370d1 this ticket specifically asked for the "Ability to filter the API by account ID for instance". It sounds like your needs relate more to the gadget UI (not the REST API) which is a different request.
When viewing a user's page in your site's user management, the URL will contain the Atlassian account id. Depending on which user management setting is enabled for your org the URL will be structured as follows:
Original user management:
https://admin.atlassian.com/s/<site ID>/users/<Atlassian account ID>
Centralised user management:
https://admin.atlassian.com/o/<org ID>/members/<Atlassian account ID>
Here is a resource on determining which user management setting you have in your org source:

All that said, as my last comment shows you don't need the AAID to filter by user in the Activity Stream gadget. Have you tried using it? Typing in the username will return the user:

Above user's profile:
