Hi,
May i know the reason why Xray doesn't have Graphql to createDefect, but has addDefectstoTestRun - without creating Defect , there is no point to add Defect to Test Run.
If Defect need to be created using parent JIRA screen - then new set of credentials should be needed.. that like sharing two set of creds one for JIRA and another for Xray,
Is there is a way to create defect using Xray creds?
Hi @AR
Welcome to the Community!
You’re absolutely right to highlight this gap. Xray doesn’t support creating defects via GraphQL because defects are native Jira issues, not Xray managed entities.
Xray GraphQL API documentation, the addDefectsToTestRun mutation lets you link existing Jira issues to a test run, but doesn’t allow creating them since that’s handled by Jira’s own issue creation process.
That said, I’ve created a product suggestion for this feature, which you can vote and watch here.
Best,
Francisco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.