jql

JQL to get blocked Issues

别来无恙 提交于 2019-12-12 18:23:54
问题 Is there a native JQL (not a plugin) that returns tickets that have linked issues listed as "is blocked by" (so I can see all my blocked tickets). All I have found is linkedIssues() but that can require a specific issue ID to search for which is entirely unhelpful. I am using Jira Cloud 7.4. 回答1: In the core JIRA JQL functionality the closest thing you have, as you've already found out, is linkedIssues() that requires a parent Issue reference. What you need is Adaptavist ScriptRunner, they

Total in progress time in JIRA

坚强是说给别人听的谎言 提交于 2019-12-11 08:53:35
问题 guys could you please advice how to make a report which contains total "in progress" time for certain task using JQL or any other JIRA methods? Is it possible without using additional plugins? Thx 回答1: This question was actually asked here before. The answer unfortunately is no - JIRA on itself does not provide such functionality. You can however implement a plug-in or an external service that tracks this. The idea would be that when an issue makes the transition to "In Progress" a trigger is

JQL Query - Use a filter result in another JQL query

限于喜欢 提交于 2019-12-11 04:10:33
问题 I have a JQL filter searching for epics fulfilling certain requirements. Now i would like to do something like: "Epic Link" in (filter= 22611) I know one can use filters with AND etc, but this doesn´t seem to work. Is this even possible or is there another way round? Thank you! 回答1: Nested JQL calls are not (yet) possible in Jira. Atlassian have a feature request raised for this here. You will need to accommodate the JQL with the AND operator in front. 来源: https://stackoverflow.com/questions

Filter issues updated by particular user in period of time using JQL

时光毁灭记忆、已成空白 提交于 2019-12-10 13:57:34
问题 Is there any way to find all issues updated by particular user in particular time period in every day by using JQL or is there any plugin to solve this?. 回答1: If by updated you mean change of status you can chack something like this: status changed by "user.name" and updated > startOfDay("-1") Of course the start of the day -1 shows everything updated since yesterday, but you can also go with hours. 回答2: You could run a query like this: reporter = usernameGoesHere AND created > startOfDay()

JIRA JQL: Issues resolved in the current sprint

血红的双手。 提交于 2019-12-10 13:18:47
问题 I would like to be able to filter for issues that are have been resolved in the current sprint. Generally this would be used to prevent issues resolved in a previous sprint but delayed in testing (not reopened) showing up when we are discussing what developers achieved this sprint. Closed issues should also appear, but they are not a problem, as if they were closed last sprint, they wouldn't roll over into this one anyway. In mock-JQL, it would go something like this: project = "Project name"

JIRA JQL: coloring cards by blocked status

烂漫一生 提交于 2019-12-08 18:33:28
问题 I'm trying to use the "Card colors" feature of JIRA Agile, plus the ScriptRunner plugin, to color blocked cards on a JIRA agile board. My definition of "blocked" is: ticket has a value for the "Blocked" field or is linked to an unresolved ticket in a "is blocked by" relationship. The best I can do is the following JQL: (Blocked is not EMPTY) OR issueFunction in hasLinks("is blocked by") This finds tickets that have a value for the "Blocked" field, and tickets that are linked to another ticket

Jira JQL - Show all child tasks

◇◆丶佛笑我妖孽 提交于 2019-12-08 11:09:16
问题 Hello I need some help using JQL I am trying to display all my tasks under 3 levels of Macro-Feature and/or Epic Link, as my organization look like this : - Macro Feature Epic Link (= feature) => Epic Link (= subfeature) => Tasks or directly Epic Link => Tasks I want to see both levels, how can I achieve this please ? 回答1: In pure Jira Server, it is not possible to follow the links, you will have to query issues assigned to the epic, take their issue keys or ids and build a combined query.

How do I retrieve issues of specific status with JQL

谁都会走 提交于 2019-12-04 13:47:22
Entering a url, or running with curl, like: https://<myurl>/rest/api/2/search?jql=project=<myproject>&status=closed&fields=id,key,status,project&maxResults=5 returns me 5 items in my project but with all statuses. For some reason I can't query for a specific status. The output (part of it) is: { "expand": "schema,names", "startAt": 0, "maxResults": 5, "total": 727, "issues": [ { "expand": "editmeta,renderedFields,transitions,changelog,operations", "id": "79577", "self": "https://<myurl>/rest/api/2/issue/79577", "key": "<myproject>-774", "fields": { "project": { "self": "https://<myurl>/rest

JIRA JQL searching by date - is there a way of getting Today() (Date) instead of Now() (DateTime)

让人想犯罪 __ 提交于 2019-12-04 08:01:14
问题 I am trying to create some Issue Filters in JIRA based on CreateDate . The only date/time function I can find is Now() and searches relative to that, i.e. "-1d", "-4d" etc. The only problem with this is that Now() is time specific so there is no way of getting a particular day's created issues. i.e. Created < Now() AND Created >= "-1d" when run at 2pm today will show all issues created from 2pm yesterday to 2pm today when run at 9am tomorrow will show all issues created from 9am today to 9am

Find parents issues which contains subtasks with label

ぃ、小莉子 提交于 2019-12-04 02:04:26
问题 I have a JIRA project and some of my tasks contains subtasks with lasbels "needDesign". Is it possible to find all parent tasks which contains subtasks with that label? (I use ondemand jira version) 回答1: Jira JQL doesn't not provide this out of the box, however there are many add-ons that extend JQL to allow this. I would normally suggest you install the Script Runner add-on (see https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner) as it contains many useful built