I am running JIRA 6.4.8. I would like to create a series of filters to represent weeks of the year, including the prior year.
Current year is easy enough with the StartOfYear()
function:
created > startOfYear("+1w") AND Created < startOfYear("+2w")
I am stumped on how to do this for a specific prior year. I tried the above saved as a filter and combined it with (Created > startofYear('-1y') AND created < endOfYear('-1y')) AND filter = 2016W2
but that resulted in:
(+/-)n(yMwdm)
notation rather than specify exact dates for prior years (e.g. 2014, 2015) rather than current?
You should omit sign "+" like this: created >= startOfYear(1w)
As for error - it mean that your filter name is 2016W2. You must not use this filter into JQL statement. You can use any other filter, but not it self.
At firts just delete this: AND filter = 2016W2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If prior means "previous" then you can try this: created > startOfYear(-52w) ORDER BY created asc.
Anyway it is possible to set any desired date like created > "2015-01-04" ORDER BY created asc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.