I noticed a discrepancy in result counts when using the CHANGED TO operator with multiple statuses.
These two queries should be logically equivalent but return different numbers of results (65 vs 59):
Concise version (65 results):
status changed TO ("Test", "Done", "Invalid") AFTER startOfWeek() BEFORE endOfWeek()
ORDER BY updated DESCVerbose version (59 results):
status changed TO "Test" AFTER startOfWeek() BEFORE endOfWeek()
OR status changed TO "Done" AFTER startOfWeek() BEFORE endOfWeek()
OR status changed TO "Invalid" AFTER startOfWeek() BEFORE endOfWeek()
ORDER BY updated DESC
The Atlassian docs state that WAS IN (A,
is equivalent to WAS "A" OR WAS "B", but that equivalence is only explicitly documented for the WAS operator — not for CHANGED TO. Is the same equivalence supposed to hold for CHANGED TO? If not, what is the semantic difference?