jql

Jira Cloud Filter: currentUser() mentioned in comment

孤街浪徒 提交于 2021-02-10 14:11:03
问题 In Jira Cloud, I need to create a filter which shows all (open) issues where currentUser() is mentioned in comment. I installed Adaptavist Script Runner plugin (Cloud version), and i can filter all issues commented by currentUser(), like commentedBy = currentUser() however, how do i filter all issues where currentUser() is mentioned in the comments field - i.e. @username blah blah... ? 回答1: Try this JQL to search for all comments containing the current user's username: comment ~ currentUser()

Jira JQL: how to find the busiest hours of a queue?

断了今生、忘了曾经 提交于 2020-05-17 06:46:47
问题 Jira Server v7.12.1#712002 We have noticed that at certain periods of the day there are more tickets assigned to "Operations" queue than usual, so we need to back this impression with real statistics. We extracted all the tickets that at some point were assigned to "Operations" queue via the following query: project = "Client Services" AND assignee WAS "Operations" The results of the query above include the timestamp value in the "Updated" field, however this field reflects the last time the

List all JIRA tasks that are not blocked by other tasks

和自甴很熟 提交于 2020-01-12 07:44:08
问题 Using JIRA 4.4.3, I've created a filter that list all the tasks that: - The current user is assigned to; - are Open; - are not blocked by any other task. To make it clear: the task that are ready for a user to work on. We've installed the Craftforge JQL Functions plugin, and I've come with the following JQL query: assignee = currentUser() AND status in (Open) AND issue NOT IN linkedIssuesFromFilter("All Issues", "Blocks", "Outward") The problem is that when an issue that was blocking another

JQL 5.1 query does not display a particular field

走远了吗. 提交于 2020-01-05 07:37:51
问题 "Number of open Subtasks" =0 Error: the field does not exist or you don't have permission to view it. JIRA don't apply Field level security permissions: see https://jira.atlassian.com/browse/JRA-1330 even then this error. this query was working on JIRA 4.1 but after transition to JIRA 5.1, its throws that errors. 回答1: project=PROJECT_KEY AND resolution = Unresolved AND issuefunction not in parentsOf("project=PROJECT_KEY AND resolution = Unresolved") AND issuefunction in parentsOf("project

JQL 5.1 query does not display a particular field

為{幸葍}努か 提交于 2020-01-05 07:37:11
问题 "Number of open Subtasks" =0 Error: the field does not exist or you don't have permission to view it. JIRA don't apply Field level security permissions: see https://jira.atlassian.com/browse/JRA-1330 even then this error. this query was working on JIRA 4.1 but after transition to JIRA 5.1, its throws that errors. 回答1: project=PROJECT_KEY AND resolution = Unresolved AND issuefunction not in parentsOf("project=PROJECT_KEY AND resolution = Unresolved") AND issuefunction in parentsOf("project

Hibernate - Parameter value [2011] was not matching type [java.lang.Integer]. How to solve?

泄露秘密 提交于 2020-01-03 06:19:22
问题 I am getting the message above even though the value I'm passing through an Integer to the named query. Can anyone explain why? Thanks DAO Java Code Calendar cal = Calendar.getInstance(); cal.setTime(interval.getStartDate()); query.setParameter("academicYear", new Integer(cal.get(Calendar.YEAR))); Query: @NamedQuery(name = "StudentDemographics.findByMOEDEqual", query = "SELECT s.student FROM StudentDemographics s " + "WHERE :academicYear = s.academicYear " + "AND UPPER(s.MOED) like :MOED"),

Displaying Jira issues using Issue Navigator

老子叫甜甜 提交于 2019-12-24 08:48:23
问题 Below is simple Jira JQL search statement: JqlQueryBuilder builder = JqlQueryBuilder.newBuilder(); builder.where().assignee().in("Dylan").and().unresolved(); Query query = builder.buildQuery(); Then we have search results: SearchResults results = searchService.search(authenticationContext.getUser(), query, PagerFilter.getUnlimitedFilter()); List<Issue> issues = results.getIssues(); Problem : I need to find issues, filter them using several criteria and show results to the user using standard

How do I retrieve issues of specific status with JQL

放肆的年华 提交于 2019-12-21 20:43:23
问题 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

How can I find a list of all tickets that are linked to issues that have been resolved?

蓝咒 提交于 2019-12-13 16:09:11
问题 I'm using Jira as a test case management system, with each individual test case being represented as a ticket under the Test project. I have some test case tickets that are linked as "blocked by" to issue tickets in another Jira project. Some of those issues have since been resolved. Is there an advanced search query I can use to pull up all the Test tickets which are linked to resolved issues? Using Jira OnDemand hosted at Atlassian. I'm open to creative solutions that involve browser

Using JIRA Query Language from Klipfolio To Query JIRA API For Number of Rejected Issues

a 夏天 提交于 2019-12-13 10:10:03
问题 I am trying to query the JIRA API from Klipfolio, to return all issues whos status = "rejected" in a given month, and the number of times each issue's status = "rejected". Example queries I have run: Give me the issue history for a given issue which contains rejected issues. But I don't know how to return the number of times the issue's status = "rejected" from this query: https://upvate.atlassian.net/rest/api/2/project/UC?expand=changelog. Give me the the number of issues whos status =