ボードフィルター用の JQL クエリの例
We're updating terminology in Jira, moving from "issue" to "work item", and "project" to "space".
As we roll out these changes, some JQL entries using the new terms may not work yet. If you come across this, try using the old term instead.
There are no changes to existing JQL queries.
JQL フィルターを使用すると、必要な任意の条件に基づいて、関連する作業項目を表示するボードを作成できます。JQL は、さまざまな方法で使用できる、柔軟ながら堅牢なロジックです。JQL クエリの機能に関する詳細をご確認ください。
When constructing your JQL query, it’s important to tell Jira where it should search for work items by including or excluding specific spaces or boards.
クエリで検索する作業項目の数が少なくなると、結果の読み込みが速くなります。
JQL フィルターによって、自分に割り当てられたすべての作業を表示するとします。ただし、あなたが取り組んでいるスペースは組織全体で 2 つだけです。
このクエリは次のように機能します。
assignee is currentUser()
しかし、次のほうが良いでしょう。
space in (The Big Cheese, Project Kanban) and assignee is currentUser()
これには、次のような理由があります。
The first query searches through all of the work items in your site to find the ones assigned to you. The second query is more focused on your spaces.
If your site has 10,000 work items Jira can look at the 500 work items in those spaces and can ignore the remaining 9,500. Fewer work items to sort through, the quicker the query can run, even though the results are the same.
始めるのに役立つその他のクエリ
Show work items in different lifecycles
space in (LIFE) and status in ("In Progress", "To do") ORDER BY Rank ASC
Select all work items you are interested in
space in (LIFE) AND (assignee = currentUser() or reporter = currentUser()) AND (fixVersion in unreleasedVersions() OR fixVersion is empty)
Show all work items for a team (using a label custom field named “team”)
space in (LIFE) AND (team = ateam or team = dreamteam OR team = engineroom) AND (fixVersion in unreleasedVersions() OR fixVersion is empty)
Create a seperate board for completed work items
space in (LIFE) and status in (Done, Duplicate) and statusCategory = Done ORDER BY assignee
ラベルを使用して特定の作業ストリーム別に整理する
space in (LIFE) and labels in (ui-only, android-app) ORDER BY Rank ASC
バグ修正チームにのみバグを表示する
space in (LIFE) AND team = bugfix AND workType = bug AND (fixVersion in unreleasedVersions() OR fixVersion is empty)
Show all work items that are unscheduled or in an unreleased fix version
space in (LIFE) AND (fixVersion in unreleasedVersions() OR fixVersion is empty
リリースされる次の修正バージョンのすべての作業項目を表示する
space in (LIFE) AND fixVersion = earliestUnreleasedVersion(SPACE KEY)
この内容はお役に立ちましたか?