OBJECT
getManualStepLibrary
link GraphQL Schema definition
1 Query getManualStepLibrary { 2 3 # Returns the steps of the Manual Step Library. 4 # Either projectId or testIssueId must be provided. If both are provided, the Test must belong to the given project. 5 # The optional search text is matched case-insensitively against the action, data, result, description and labels of the steps. 6 # Only steps the user has permission to view are returned. 7 # 8 # 9 # Arguments 10 # projectId: The project id. Either this or testIssueId must be provided. 11 # search: Search text to match against step fields (action, data, result, description, labels). 12 # testIssueId: Filter steps linked to a specific test issue. Either this or projectId must be provided. 13 # limit: The maximum amount of steps to be returned. The maximum is 100. 14 # start: The index of the first item to return in the page of results (page offset). 15 (: String, : String, : String, : Int!, : Int): ManualStepLibraryResults 16 17 }
link Example
The query below returns the first 10 steps of the Manual Step Library of the project 10000 that contain "login".
{
getManualStepLibrary(projectId: "10000", search: "login", limit: 10) {
total
start
limit
results {
id
projectId
action
data
result
description
labels
customFields {
id
name
value
}
associatedTests
dateModified
}
}
}
The query below returns the Manual Step Library steps used by the Test 12345.
{
getManualStepLibrary(testIssueId: "12345", limit: 100) {
total
results {
id
action
data
result
associatedTests
}
}
}