OBJECT
removeDefectsFromTestRunStep
link GraphQL Schema definition
1 Mutation removeDefectsFromTestRunStep { 2 3 # Mutation used to remove defects from a Test Run. 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): RemoveDefectsResult ( : 11 12 }
link Example
The mutation below removes 2 defects from the Test Run.
mutation { removeDefectsFromTestRunStep( testRunId: "5e8489c05f200f3cd45bbaf0", stepId: "316eb258-10bb-40c0-ae40-ab76004cc505", issues: ["XRAY-1234", "12345"] ) { removedDefects warnings } }