Commit cf683ab9 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch '232405-query-incidents-by-issue-type' into 'master'

Change query to request incidents by issue type

See merge request gitlab-org/gitlab!38503
parents d73f227a eea29c00
......@@ -92,7 +92,7 @@ export default {
searchTerm: this.searchTerm,
state: this.stateFilter,
projectPath: this.projectPath,
labelNames: ['incident'],
issueTypes: ['INCIDENT'],
firstPageSize: this.pagination.firstPageSize,
lastPageSize: this.pagination.lastPageSize,
prevPageCursor: this.pagination.prevPageCursor,
......
query getIncidents(
$projectPath: ID!
$labelNames: [String]
$issueTypes: [IssueType!]
$state: IssuableState
$firstPageSize: Int
$lastPageSize: Int
......@@ -12,7 +12,7 @@ query getIncidents(
issues(
search: $searchTerm
state: $state
labelName: $labelNames
types: $issueTypes
first: $firstPageSize
last: $lastPageSize
after: $nextPageCursor
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment