It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira activity stream API global filtering

Farhan Jaleel Dec 09, 2013

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

1 vote
Answer accepted

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

0 votes
Farhan Jaleel Dec 09, 2013

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

0 votes
Farhan Jaleel Dec 10, 2013

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.

0 votes

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira Software

Early Access: If you use Jenkins and Jira Software Cloud, you need to read this!

The Jira Software Cloud Team has been busy working on a simple, secure, and reliable way to integrate your build and deployment information from Jenkins with Jira Software Cloud. This means you don’t...

229 views 0 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you