I have tm4j adapatavist plugin on jira - Test Management for Jira v6.7.2.
I am writing rest client for it according documentation https://support.smartbear.com/tm4j-server/api-docs/v1/
I have found that documentation for /testplan/{testPlanKey} completely incorrect.
When I try to send Json object similar the one from documentation,
server answered with:
java.util.concurrent.ExecutionException: RestClientException{statusCode=Optional.of(400), errorCollections=[ErrorCollection{status=400, errors={}, errorMessages=[The field projectKey is unrecognized. Allowed fields are: name, objective, folder, customFields, status, testRuns, issueLinks, labels, owner., The field testRunKeys is unrecognized. Allowed fields are: name, objective, folder, customFields, status, testRuns, issueLinks, labels, owner.]}]}So I made appropriate object with fields mentioned about, then server answered that <status field is required>. I added value for status field (but I need to update only testRuns)
But now I receive 500 without any status text.
Please help me to find correct rest api docs with which I can update testRunKeys (testCycles) in testPlan