The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there is a way to extract current year value from JQL Date functions?

Anna
Contributor
August 7, 2024

I need to run a JQL query where my fixversion = 2024.

Jira has a lot of date functions but I don't see anything similar to Year() so I could use fixVersion = Year() in my query.

Is this a doable task in JQL?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Marc -Devoteam-
Community Champion
August 7, 2024

Hi @Anna 

Fix Version is not a date field in the system, so there are no JQL clauses in relation to date.

Each JQL option can have different operators.

See them here: https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-fields-reference-939938743.html