OBJECT
getProjectsSettings
link GraphQL Schema definition
1 Query getProjectsSettings { 2 3 # Returns the Project Settings of multiple Projects. 4 # Only Projects that the user can access and that have Xray configured are returned. 5 # Ids or keys that do not match a Project, or that belong to Projects without Xray configured, are reported in the warnings. 6 # 7 # Arguments 8 # projectIdsOrKeys: the ids or keys of the Projects. At least one is required. 9 # limit: the maximum amount of Project Settings to be returned. The maximum is 100. 10 # start: the index of the first item to return in the page of results (page offset). 11 (: [String], : Int!, : Int): ProjectsSettingsResults 12 13 }
link Example
The Query below returns the Project Settings of the Projects with id 10000 and key CALC
{
getProjectsSettings ( projectIdsOrKeys: ["10000", "CALC"], limit: 100 ) {
total
start
limit
warnings
results {
projectId,
testEnvironments,
testCoverageSettings {
coverableIssueTypeIds
epicIssuesRelation
issueSubTasksRelation
issueLinkTypeId
issueLinkTypeDirection
}
defectIssueTypes
testTypeSettings {
testTypes {
id
name
kind
}
defaultTestTypeId
}
}
}
}