OBJECT
addDefectsToTestRunStep
link GraphQL Schema definition
1 Mutation addDefectsToTestRunStep { 2 3 # Mutation used to add defects to a Test Run Step. 4 # 5 # Arguments 6 # testRunId: The id of the Test Run. 7 # stepId: the id of the Test Run Step. 8 # issues: the ids or keys of the defects. 9 # iterationRank: the rank of the iteration. 10 String!, : String!, : [String], : String): AddDefectsResult ( : 11 12 }
link Example
The mutation below adds 2 defects to the Test Run Step.
mutation { addDefectsToTestRunStep( testRunId: "5e8489c05f200f3cd45bbaf0", stepId: "316eb258-10bb-40c0-ae40-ab76004cc505", issues: ["XRAY-1234", "12345"] ) { addedDefects warnings } }