Hello, everybody.
I have 2 transactions between Open and In Progress. That's transactions have different id and functionality.
I need to know when and which transaction used to ticket.
How to make a query to SQL correctly?
You can't do this. And even getting vaguely close is a lot harder in SQL than it is doing it any other way.
The problem is simple - Jira does not record the transition used. It only records the start and end status.
If you have a simple workflow where there is only one transition between two status (which is almost all workflows), you can work out the transition by looking at the workflow. But, of course, if you have edited the workflow and changed transitions, you might not be sure of the transition that was used historically.
On top of that, for doing this with SQL, you would need to parse and understand the workflow XML which is stored raw in the database.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.