Activity Stream in a specific time frame

srinivasp
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 23, 2012

Is there a way to view the activity stream at a specific time frame?

3 answers

0 votes
jcoughlin February 26, 2016

Hey guys,

Quick manual work around is to just pull as much data as you can and find your timeframe in the browser using the RSS feature of your activity stream. I put in 1000 because I just wanted earlier in the week, but I'd imagine you can pull even more. Probably a good idea to run this at low usage hours wink. This would assume you have a compatible version of core and add-on etc.

 

https://jira.<DOMAIN>.com/activity?maxResults=1000&streams=user+IS+<USERNAME>&os_authType=basic&title=undefined
0 votes
Greg MacLellan October 2, 2012

Not in the documentation, but there is a maxResults parameter that at least lets you increase the time range by number of items. Not exactly direct, but if you're trying to consume the activity stream with some automated process (which I don't believe is the intent of activity streams), at least you can set eg `maxResults=2000` and hopefully 2000 things don't happen within your poll frequency.

I was hoping to use this for updating an external system that is linked to JIRA tickets, but it doesn't look like there's enough fidelity in the activity streams response plus the possibility of missing updates makes this a no-go for me. Posting as an answer in case it's useful to someone else though.

0 votes
Ramiro Pointis
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 23, 2012

The possible filters for the Activity Stream are shown in this documentation:

http://confluence.atlassian.com/display/JIRA/Adding+the+Activity+Stream+Gadget

Because it shows the recent activity related to those filters selected it can't be filtered by any time value.

Ramiro Pointis
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 23, 2012

There's an Activity Stream Report plugin that you can use to see the same things but available for more filters. The problem that is only compatible to version 4.4.5

srinivasp
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 23, 2012

I checked that plugin but it is a non-stable one.

Ramiro Pointis
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 23, 2012

Yes, it's not a very safe plugin. But, I'm sure that this can't be achieve from the Jira itself. Maybe there are others plugins for this matter.

Suggest an answer

Log in or Sign up to answer