You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: git-integration-for-jira-self-managed/JQL-searching-gij-self-managed.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ The Jira JQL has been extended as follows:
25
25
26
26
| Criteria Name | JQL Field Syntax | Description | Search Result Value Example |
27
27
| :--- | :--- | :--- | :--- |
28
-
| Git Commits Referenced |`gitCommitsReferenced`is not empty<br>`gitCommitsReferenced`is empty | True for all issues referenced by a git commit<br>True for all issues not referenced by a git commit |`True` or "" _(empty string)_|
28
+
| Git Commits Referenced |`gitCommitsReferenced`IS NOT empty<br>`gitCommitsReferenced`IS empty | True for all issues referenced by a git commit<br>True for all issues not referenced by a git commit |`"true"` or "" _(empty string)_|
29
29
| Git Branch |`gitBranch` in (`Version-5.2`, `Version-5.3`) | True for all issues referenced by a git commit in branch Version-5.2 and branch Version-5.3 |`Version-5.2,``Version-5.3`|
30
30
31
31
**Examples:**<br>
@@ -40,10 +40,10 @@ gitCommitsReferenced is not empty AND resolution = Unresolved
The <code>gitCommitsReferenced</code> field now additionally supports project filtering.<br><br>
43
+
The <code>gitCommitsReferenced</code> field now additionally supports project filtering. Note that <code>gitCommitsReferenced</code> can only use <code>IS NOT</code> or <code>IS</code> operators.<br><br>
44
44
The resulting set in the response to the user's request has not changed. The only difference is that, before, the project filter is applied only after the filter. Now, it is applied inside the filter as well.<br><br>
45
45
See the JQL query with the project filter together with the <code>gitCommitReferenced</code> field below:<br><br>
46
-
<code>project = ISSUE_KEY AND gitCommitsReferenced is EMPTY</code>
46
+
<code>project = PROJECT_KEY AND gitCommitsReferenced IS EMPTY</code>
47
47
</td>
48
48
</tr>
49
49
</table>
@@ -74,7 +74,7 @@ You can save the JQL search results to CSV, HTML, XML or Word via **Export**.
74
74
JQL has some limitations. Having more than 65,000 active Jira issues may cause the query to timeout. In some cases, it is better to add more conditions to narrow down the number of results.
75
75
76
76
For example, you can try inverting the order of the query:<br>
77
-
`gitCommitsReferenced = true AND project = XXX`
77
+
`gitCommitsReferenced IS NOT empty AND project = PROJECT_KEY`
0 commit comments