Jira activity stream API global filtering

I am trying to apply global filtering on activity stream using following url:

https://<name>.atlassian.net/activity?streams=update-date+BETWEEN+1386671637.28834+1386672626.269282

It doesn't return any feed entry in response(200) which happened between this epoch range. Can anyone explain me how to effectively use date range global filter to get activity streams?

4 answers

1 accepted

activity?maxResults=10&streams=update-date+BETWEEN+1385852400000+1386716399999

I am trying to use BEFORE and AFTER operators via global filtering on streams. I want to know if fitering is applied over all entries of the feed(activity stream)?

https://<name>.atlassian.net/activity?streams=update-date+BEFORE+1386671637

It worked, i was erroring in conversion.

@julian, can you tell me if only date(x-x-x) is converted into number of milliseconds since the epoch of GMT or datetime(x-x-x xx:xx:xx) ?

Please guide me to a good link on how to do this conversion, if you know any.

As you said the timestamp is the number of milliseconds since first January 1970 ...

Of cause you can convert a datetime to a timestamp

Here is a simple converter : http://www.onlineconversion.com/unix_time.htm

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Thursday in Jira

Continuous visibility with the new Jira Software Cloud and Bitbucket Cloud integration

Hey Atlassian community, I am a PM on the Bitbucket Cloud team and I am excited to share that we just released an improvement to the Jira Software and Bitbucket Cloud integration. With the newly im...

111 views 0 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you