blob: 3aeaaa1116a541f00cbe9d6972b168c0a2d04968 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
query projectWorkItems(
$searchTerm: String
$fullPath: ID!
$types: [IssueType!]
$in: [IssuableSearchableField!]
$iid: String = null
$isNumber: Boolean!
) {
workspace: project(fullPath: $fullPath) {
id
workItems(search: $searchTerm, types: $types, in: $in) {
nodes {
id
iid
title
}
}
workItemsByIid: workItems(iid: $iid, types: $types) @include(if: $isNumber) {
nodes {
id
iid
title
}
}
}
}
|