I need to be able to pull the report to see who was assigned to a story when a story was In Testing status. The goal: I need to know, who executed the Testing. I cannot rely on the Assignee field, as it gives me the name of the current person assignee to a story. In many cases it would be the person who moved the story from AP status to RTR or Closed. That is why I need a way to query the history
Hi @Svetlana Mandrosova !
Unfortunately, there's no native way in JQL to query "who was the assignee WHEN the status was X", status WAS and assignee WAS exist independently but you can't combine them temporally.
You can capture the tester automatically going forward with a simple rule:
{{assignee.displayName}}This will store the person who was assigned at the moment the issue entered "In Testing". From there, you can filter/report on that field normally.
This only works prospectively (for new transitions going forward). For historical data, Automation can't help, even if you call the REST API via "Send web request" to get the changelog, the JSON response requires correlating timestamps between status changes and assignee changes, and Automation smart values don't support that kind of conditional logic over nested arrays.
If you have ScriptRunner installed, this becomes much easier. You can write a Groovy script that:
This gives you full control to backfill the historical data and also run it as a scheduled job or listener going forward.
Hope that helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.