Hi, I trying to understand which projects using statuses from database. I I thought it's real ability to know from workflow_id of table jiraissue, but i was wrong. Could you help me please?
Two things:
Technically, yes, it's all in tables, but it's not a direct relationship and some of the data is stored in blocks, not normalised in any way, so you can't just use SQL to get to it.
That brings me back to "why"? What are you trying to achieve here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Then you're doing it wrong. You really shouldn't be touching the database.
What "statistics" are you trying to get to?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's not a statistic, that's a configuration thing and it's a one-off. Look at the project's setup to get that, it's easier than trying to read the database.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We could still help you with statistics, if you could tell us what you actually want.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Right, well, that's "current usage" which is a statistic. The status that a project uses is not necessarily the same as what is currently in use.
It's also very easy to get to (unless you do it via the database, where it remains a bit of a pig, albeit a little easier than the original question)
Start a new filter, and blank it out. Save it with a name like "all issues". Go to your dashboard and add a filter statistics gadget, selecting "status" as the reporting variable and "all issues" for the filter. You now have a list of all status that are in use, and by how many issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do we have a LIKE button to like comments from Nic?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's not perfect, the gadget will drop lines where the total count is 0, but you can at least see the low usage ones, and you can use it to compare with the full list of status (if it's not on the gadget, then it's used by 0 issues and can be killed off. Or at least, check the workflow its using!)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.