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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,089 views 13 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot