sql - JQL Query in Jira, maxDate and MinDate -


using jira issue search, have 2 custom date fields in project. want filter returns issue earliest date field 1. want filter return issue latest date field 2.

has done query similar before. dont know correct syntax , checking on atlassian documents doesnt mention max or min.

you can create own jql functions using free plugin such script runner.

to data jira database, find id of custom field using

select * customfield 

then use this

select      pkey     , summary     , datevalue       customfieldvalue c     , jiraissue       i.id=c.issue     , c.customfield = 10071      , c.datevalue in (select min(datevalue) customfieldvalue customfield = 10071) 

Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -