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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

639 views 6 12
Read article

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