Crucible REST API filter fromDate & toDate


What is the meaning of fromDate and of toDate?

Can someone provide a definition?  The official online document says nothing about it. Thx.

(I understand the time is in unix time (milliseconds) )

Assume this notation: time t1 < time t2 < time t3, ...

Take this simple example, if a review CR-ABC-3 is created at time  t5, summarized and closed at time t10.

If I specify (fromDate=t1, toDate=t7), shall I expect to find the review?

How about (fromDate=t7, toDate=t9)?

How about (fromDate=t7, todate=t11)?

How about (fromDate=t11, toDate=t15)



1 answer

0 vote

Hi @Wei-Hwan Chiang,

Apologies for the confusion, the same issue was recently identified on issue.  The documentation will be clarified in the upcoming 3.7 release.   

Basically both dates as you guessed represent unix time expressed in milliseconds.  They are compared against the last activity on the review.   In your case as the review was last updated at time t10, you should expect this review to be returned when filter (fromDate=t7, toDate=t11) is specified.

Hope that helps,

Hi Piotr, thx for the clarification! Wei

Suggest an answer

Log in or Join to answer
Community showcase
Alexey Matveev
Published Saturday in Jira

How to run Jira in a docker container

Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...

393 views 6 8
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
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