jira - Date math and formatting using JQL -
i need create jql filter uses current date , subtracts 2 months using fixversion (string).
is there way (this pseudocode):
fixversion = "'"+(now().month() - "2m").tostring()+"_2017"
no, not possible out of box.
fixversion not date field cannot perform date operations on in jql.
for date fields, jira supports expressions these:
duedate >= "2008/12/31"
created >= "-5d"
created > startofmonth("-1")
however, can implement own custom jql function support this, either writing custom add-on or using (commercial) add-on script runner.
for more info check:
Comments
Post a Comment