Title: Support WAS and CHANGED operators for the issuetype field in JQL
Description:
Currently, JQL's WAS and CHANGED operators only work with a limited set of fields (Assignee, Fix Version, Priority, Reporter, Resolution, Status). The issuetype field does not support these historical query operators.
Use Case:
In our project, several issues were originally created as "Task" and later bulk-changed to "Test" (or other types) by a project admin. There is no way to find these issues using JQL. We need to audit which issues had their type changed — for traceability, compliance, and process improvement purposes.
Expected Behavior:
Queries like the following should work:
issuetype WAS "Task" AND issuetype = "Test"
issuetype CHANGED FROM "Task" TO "Test"
issuetype CHANGED BY "user" AFTER "2025-01-01"
Impact:
Teams managing test traceability (requirements → stories → tests → bugs) cannot track type conversions
Admins performing bulk type changes have no way to verify or audit what was changed
Regulated industries (energy, medical, automotive) need this for compliance audits
Workaround (current):
The only option is to iterate through individual issue changelogs via REST API, which is impractical for large projects.