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

Jira Activity Stream gadget does not show all information in some cases, and the return is “user has had no activity”.

      Issue Summary

      Jira Activity Stream gadget does not show all information in some cases, and the return is “user has had no activity”.
      Instead of trying to get activities for chosen filters, it gets the by max results, then apply the filters later. So the entries will be missed if they are out of the limitation.

      Steps to Reproduce

      These steps are reproduced by the team's Jira dashboards in a test environment.

      • If we configure the activity stream gadget limit to 4 items without any filters, then the request is like this: https://endeavour-demo.jira-dev.com/plugins/servlet/streams?maxResults=4&relativeLinks=true  (I call this as request 1)
      • If we add a filter for Account ID to a user, then the request gonna be like this: https://endeavour-demo.jira-dev.com/plugins/servlet/streams?maxResults=4&relativeLinks=true&streams=account-id+IS+655363%3A110b9b2e-4adb-41f7-9b2c-1dcca936ae1e  (I call this as request 2)
      • So you can see the difference in the request url, it has the account id in the request 2.
      • So as the normal logic, we would expect the request 2 will return a list with 10 activities from the selected user, right?
      • But this is not how the current way it's working.
      • For example, if the request 1 returns something like this:
        • Activity 1 from someone else
        • Activity 2 from someone else
        • Activity 3 from selected user  in request 2
        • Activity 4 from selected user in request 2
      • Then the request 2 only return 2 activities, which is Activity 3 and Activity 4.
      • Let's give another example for request 2 but limit to 2 items: So we would expect request 2 is not still return Activity 3 and Activity 4.
      • But the bug is request 2 is now return empty result, this is because activities from selected user (which is Activity 3 and Activity 4) is the third and forth entries, but we only limit to 2 items.

      Expected Results

      When adding a user, all the activities of that user appear, but in some cases appear “user has had no activity”

      Actual Results

      Mentioned above.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

          Form Name

            [JRACLOUD-78878] Jira Activity Stream gadget does not show all information in some cases, and the return is “user has had no activity”.

            This is still broken in my company's new Jira since we transitioned after a buyout. I just set up an activity stream to filter by my own Account ID only and I am still seeing everyone's work in the stream. 

            Ryan.LeBlanc added a comment - This is still broken in my company's new Jira since we transitioned after a buyout. I just set up an activity stream to filter by my own Account ID only and I am still seeing everyone's work in the stream. 

            Hi 16466314fb10,

            Can you verify that the activities from other users are Jira activities? If you have application link configured to show Confluence activities, there is currently a bug in Confluence side that it would ignore the account filter. Our colleague is working on it already. If the activities from other users are indeed from Jira, then this is a regression and we will look into it. Thanks

            Patrick Huang (Inactive) added a comment - Hi 16466314fb10 , Can you verify that the activities from other users are Jira activities? If you have application link configured to show Confluence activities, there is currently a bug in Confluence side that it would ignore the account filter. Our colleague is working on it already. If the activities from other users are indeed from Jira, then this is a regression and we will look into it. Thanks

            This is broken in our instance still. When selecting activity stream for a single account we are still seeing many activities from other users?

            Sam Belton added a comment - This is broken in our instance still. When selecting activity stream for a single account we are still seeing many activities from other users?

            Hi 9be10243ba3f 

            Thank you very much for your details.

            Base on your details and steps to reproduce, we identified the problem and we tracked it here: https://jira.atlassian.com/browse/JRACLOUD-79287

            Please keep watching the above ticket. Just want to let you know that we're prioritising the bugs fixing for activity stream gadget. So we will work on this as soon as we can.

             

            Dear watchers,

            We're gonna close this ticket as the problem shown in this ticket was fixed already. If you still get any problem, you can contact our support or comment here, we will investigate and come back to you.

            FYI we have some bugs relating to activity stream gadget which are tracked here:

            Thanks.

            Thuan Nguyen added a comment - Hi 9be10243ba3f   Thank you very much for your details. Base on your details and steps to reproduce, we identified the problem and we tracked it here: https://jira.atlassian.com/browse/JRACLOUD-79287 Please keep watching the above ticket. Just want to let you know that we're prioritising the bugs fixing for activity stream gadget. So we will work on this as soon as we can.   Dear watchers, We're gonna close this ticket as the problem shown in this ticket was fixed already. If you still get any problem, you can contact our support or comment here, we will investigate and come back to you. FYI we have some bugs relating to activity stream gadget which are tracked here: https://jira.atlassian.com/browse/JRACLOUD-79287 https://jira.atlassian.com/browse/JRACLOUD-79236 Thanks.

            Brad Duane added a comment -

            Unfortunately it is not resolved in my case. Steps to reproduce:

            1. Add a gadget to dashboard, filter for:
              1. Jira Issue Key is [pick any example issue here]
              2. Project is [pick the project the above mentioned Issue is within]

             

            You will see the chosen issue key first in the results.

            Now, edit the filter, and add:

            3. Account ID is [pick the user who made the most recent activity shown in the results above for the selected Issue Key] 

             

            "No activity was found"

             

            I have an example dashboard that demonstrates this issue.

            Brad Duane added a comment - Unfortunately it is not resolved in my case. Steps to reproduce: Add a gadget to dashboard, filter for: Jira Issue Key is [pick any example issue here] Project is [pick the project the above mentioned Issue is within]   You will see the chosen issue key first in the results. Now, edit the filter, and add: 3. Account ID is  [pick the user who made the most recent activity shown in the results above for the selected Issue Key]     "No activity was found"   I have an example dashboard that demonstrates this issue.

            Hello,

            Thank you!

            This seems to be working fine!

            Elena Smaranda Buhus added a comment - Hello, Thank you! This seems to be working fine!

            Dear customers,
            The fix has been released to production. Please give it a try and see if it's working for you now.

            Patrick Huang (Inactive) added a comment - Dear customers, The fix has been released to production. Please give it a try and see if it's working for you now.

            Any chance you could re-enable the "Username" options until this gets around to getting fixed?
            I have an old activity stream that was made using the Username option. It suggests that I switch to the Account ID but I haven't. As far as I can tell the one still using the Username is working fine while any that I did switch to Account ID have broken.
            I don't know how long it will be before this fix comes through but could be at least a semi-workaround for this case, in the mean time.

            Robert Hazler added a comment - Any chance you could re-enable the "Username" options until this gets around to getting fixed? I have an old activity stream that was made using the Username option. It suggests that I switch to the Account ID but I haven't. As far as I can tell the one still using the Username is working fine while any that I did switch to Account ID have broken. I don't know how long it will be before this fix comes through but could be at least a semi-workaround for this case, in the mean time.

            Hello,

            Is there an ETA for when this will work? The activity stream has not been working for a few months and we really need this.

            Thank you so much!

            Elena Smaranda Buhus added a comment - Hello, Is there an ETA for when this will work? The activity stream has not been working for a few months and we really need this. Thank you so much!

              911d60b08b94 Patrick Huang (Inactive)
              b60c2e526cc5 João Carlos Montanha Zurobski
              Affected customers:
              10 This affects my team
              Watchers:
              20 Start watching this issue

                Created:
                Updated:
                Resolved: