I want to write a JQL query that says the following:
Issuetype in (bug, story) where status WAS NOT in (Accepted) ON "Date" AND issues that were created between date1 and date2 and sprint = x and project = HHP
I'm having a difficult time getting it to work and what I've come up with so far is two queries that only sort of give me what I want.
1. Issues not in accepted status before a specific date (returns more records than expected)
issuetype in (Bug, Story) AND status was not in (Accepted) on "2019-04-30 23:59" AND createddate < 2019-05-01 AND sprint = 97 AND sprint != 98 AND project = HHP ORDER BY created DESC, summary ASC
2. Issues that were created after a specific date
issuetype in (Bug, Story) AND createddate >= 2019-05-01 AND sprint = 97 AND project = HHP ORDER BY created DESC