Hello,
If I correctly understood, JQL are done to extract tuples (that is to say "issues") from the database. But I would like to know if it is possible to return only a field from each issue.
Example:
JQL request : type = Bug
seems to be equivalent to an SQL request:
SELECT * FROM table WHERE type = Bug
but what should I do if I just want a list of status of these issues?
the JQL page says:
"JQL gives you some SQL-like syntax, such as the ORDER BY SQL keyword and ISNULL() SQL function (i.e. the NULL keyword in JQL). However, JQL is not a database query language. For example, JQL does not have a SELECT statement."
So I think this is not possible to make this with a JQL request. Can you first confirm that?
Actually, I would like to find the average time the issues (of a project or a filter) are Open. So I think it's possible to create a custom scripted field containing the total time an issue is Open. Now I want to knnow how to add all values from this field and make an average from them.
Thank you if you read me until the end, I know it is not easy.