Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

What is the range of 'created > startOfYear()' function?

Shubham Karwa February 9, 2019

1.What is the range of 'created > startOfYear()' function?  Is it limited to certain no of days .i.e. if I use this query at end of year say in December does it fetched records of January too. 

2. Also how to search records for particular year using the same i.e. if there are 3 years records say 2017, 2018, and 2019 (current year 2019) and one needs to search issuekeys reported in 2018 then how the same can be found.

 

Inputs are highly appreciated.

1 comment

Comment

Log in or Sign up to comment
Susan Hauth _Jira Queen_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 9, 2019

Hi Shubham,

Start of year takes the current year and starts from Current Year-01-01.  If you want to go back further you can use created > startOfYear(-1) for example to go back to 2018-01-01

Hope that helps

Susan

Shubham Karwa February 9, 2019

@Susan Hauth _Jira Queen_ Thanks for the assistance! It was helpful.

Susan Hauth _Jira Queen_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 9, 2019

You are welcome

Like Shubham Karwa likes this
TAGS
AUG Leaders

Atlassian Community Events