Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-73965

Ability to filter Activity Stream from Jira using Account ID

    • 1
    • 8
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      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

        1. screenshot-1.png
          screenshot-1.png
          373 kB
        2. screenshot-2.png
          screenshot-2.png
          170 kB
        3. screenshot-3.png
          screenshot-3.png
          112 kB
        4. screenshot-4.png
          screenshot-4.png
          385 kB

          Form Name

            [JRACLOUD-73965] Ability to filter Activity Stream from Jira using Account ID

            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.

            How do I identify the "account ID" for a team member? As per the ticket, this used to work by providing a username, which is readily accessible in the UI.

            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:

            Anusha Rutnam added a comment - 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. How do I identify the "account ID" for a team member? As per the ticket, this used to work by providing a username, which is readily accessible in the UI. 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:

            Phil W added a comment -

            Hi Anusha,

            How do I identify the "account ID" for a team member? As per the ticket, this used to work by providing a username, which is readily accessible in the UI.

            Phil W added a comment - Hi Anusha, How do I identify the "account ID" for a team member? As per the ticket, this used to work by providing a username, which is readily accessible in the UI.

            Hey 0de38b1370d1 it's possible to filter by user within the Activity Stream gadget:

            In fact, having tested it, the feature requested in this ticket appears to be working now:

            Ability to filter the API by account ID for instance

            https://<instance name>.atlassian.net/activity?streams=accountId=<Account ID>

             

            Can you clarify what isn't working for you?

            Anusha Rutnam added a comment - Hey 0de38b1370d1 it's possible to filter by user within the Activity Stream gadget: In fact, having tested it, the feature requested in this ticket appears to be working now: Ability to filter the API by account ID for instance https: //<instance name>.atlassian.net/activity?streams=accountId=<Account ID>   Can you clarify what isn't working for you?

            Phil W added a comment -

            For me, I wanted to enable teams to use this to find the stream of activity by a given team member, not just for themselves, since many things like recently added comments, or reported time, or other activities related to an issue, cannot be found using standard issue search/filtering. I also wanted to be able to use it for my own activity in a separate dashboard.

            Phil W added a comment - For me, I wanted to enable teams to use this to find the stream of activity by a given team member, not just for themselves, since many things like recently added comments, or reported time, or other activities related to an issue, cannot be found using standard issue search/filtering. I also wanted to be able to use it for my own activity in a separate dashboard.

            Hi 0de38b1370d1 thanks for your feedback. Can you tell me more about how you currently use / would like to use the /activity?streams endpoint?

            If there's demand for this feature that hasn't been reflected in the vote count here, I will either reopen this ticket or create a new one.

            That said I think that this needs some more investigation on my end to determine how users are meant to be able to use the endpoint, as I haven't been able to find any recently updated documentation on the feature.

            I will add comments here when I have an update. In the meantime, any context you can provide on your use case would be much appreciated. Thank you!

            Anusha Rutnam added a comment - Hi 0de38b1370d1 thanks for your feedback. Can you tell me more about how you currently use / would like to use the /activity?streams endpoint? If there's demand for this feature that hasn't been reflected in the vote count here, I will either reopen this ticket or create a new one. That said I think that this needs some more investigation on my end to determine how users are meant to be able to use the endpoint, as I haven't been able to find any recently updated documentation on the feature. I will add comments here when I have an update. In the meantime, any context you can provide on your use case would be much appreciated. Thank you!

            Phil W added a comment - - edited

            @Anusha Rutnam while I understand you have a process you are following, I believe relying on activity or upvotes is unrepresentative of need. I was not aware that this was required in order to keep an issue in consideration (perhaps because I didn't read some document Atlassian has tucked away somewhere - but I'd think I am fairly representative of many users of Atlassian products). Indeed, if the wider team I work in is representative, most people don't even bother to look for this issue tracking site, let alone ensure they are registered to post ideas and requests for features.

            I am very disappointed in the approach taken.

            PS: I spotted the "Feedback Policy" note now visible above, though have no recollection of previously seeing this...

            Phil W added a comment - - edited @Anusha Rutnam while I understand you have a process you are following, I believe relying on activity or upvotes is unrepresentative of need. I was not aware that this was required in order to keep an issue in consideration (perhaps because I didn't read some document Atlassian has tucked away somewhere - but I'd think I am fairly representative of many users of Atlassian products). Indeed, if the wider team I work in is representative, most people don't even bother to look for this issue tracking site, let alone ensure they are registered to post ideas and requests for features. I am very disappointed in the approach taken. PS: I spotted the "Feedback Policy" note now visible above, though have no recollection of previously seeing this...

            Atlassian Update - March 2024

            Hi everyone,

            Thank you for bringing this suggestion to our attention.

            As explained in our new features policy, there are many factors that influence our product roadmaps and determine the features we implement. When making decisions about what to prioritize and work on, we combine your feedback and suggestions with insights from our support teams, product analytics, research findings, and more. This information, combined with our medium- and long-term product and platform vision, determines what we implement and its priority order.

            Unfortunately, as a result of inactivity (no votes or comments for an extended period of time), this suggestion didn’t make it to the roadmap and we are closing it.

            While this issue has been closed, our Product Managers continue to look at requests in https://jira.atlassian.com as they develop their roadmap, including closed ones. In addition, if you feel like this suggestion is still important to your team please let us know by commenting on this ticket.

            Thank you again for providing valuable feedback to our team!

            Anusha Rutnam added a comment - Atlassian Update - March 2024 Hi everyone, Thank you for bringing this suggestion to our attention. As explained in our new features policy , there are many factors that influence our product roadmaps and determine the features we implement. When making decisions about what to prioritize and work on, we combine your feedback and suggestions with insights from our support teams, product analytics, research findings, and more. This information, combined with our medium- and long-term product and platform vision, determines what we implement and its priority order. Unfortunately, as a result of inactivity (no votes or comments for an extended period of time), this suggestion didn’t make it to the roadmap and we are closing it. While this issue has been closed, our Product Managers continue to look at requests in https://jira.atlassian.com as they develop their roadmap, including closed ones. In addition, if you feel like this suggestion is still important to your team please let us know by commenting on this ticket. Thank you again for providing valuable feedback to our team!

            Phil W added a comment -

            It seems to me that the filter by username should remain supported by simply replacing the username with the new GUID for the user in the APIs. No need to change the API itself, just the data sent or returned.

            Phil W added a comment - It seems to me that the filter by username should remain supported by simply replacing the username with the new GUID for the user in the APIs. No need to change the API itself, just the data sent or returned.

              Unassigned Unassigned
              ckek Kek Chee Young (Inactive)
              Votes:
              22 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: