How to use versionEndDateOf("")

Peter Hollý November 25, 2022

Hi, could you please help me how to use this string: versionEndDateOf("") 

I am creating a smart filter and I need to create JQL which give me - the amount of the tickets which were created in the version 2020 and then they appeared also in the next version (2021) 

I was trying something like this: affectedVersion in versionMatches("2021-*.*") AND createdDate <= versionEndDateOf("2020") 

But it didn´t work.

Thanks a lot. 

1 answer

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 25, 2022

Hi @Peter Hollý ,

welcome to the Atlassian community!

the function accept as parameters versionName (mandatory) and projectName (optional). The function return the end date of the version passed as parameter.

Examples of usage :

  • created > versionEndDateOf("Version 1") - Returns all issues that were created after "Version 1" was ended.
  • created > versionEndDateOf("Version 1", "Project One") - Returns all issues that were created after "Version 1" on "Project One" was ended.

Hope this helps,

Fabio

Suggest an answer

Log in or Sign up to answer