Hi, I'm new using Xray Jira for test case management, previously I'm using testrail.
I have a question regarding, can we set the test execution status automatically when one of the test case include in that test execution is already changed from to do to passed/failed?
Hi @Yudhi Pratama and welcome to the community,
in general the status of a jira issue can be changed via Automation for Jira based on several triggers. The good point: an xray test execution is handled as a jira standard issue. The problem: test runs (which is what you mean with test case --> test run is the instance of a test case that is run within a test execution; every time you add a test case issue to a test execution issue an instance of that test case is generated within that test execution which is then called test run) are not handled as jira issues and it might be hard (if possible at all) to grab this event within an automation rule.
There might be a possibility via the FraphQL API (see link below) to grab testRuns:
https://xray.cloud.getxray.app/doc/graphql/gettestruns.doc.html
It just might be pretty difficult to get the automation rule triggered as there is no possibility (or at least I dunno any) to set a webhook for that.
Hope I could at least give some helpful input.
Best
Stefan
Hi @Stefan Salzl thanks for the reply really appreciate, wiil try it
I think this is won't be my last question on this community, I will ask again about Xray...thankss !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Yudhi Pratama
thanks for your kind feedback. Don‘t hesitate to ask. That‘s what the community is here for ;)
Looking forward to your questions.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Stefan Salzl ,
Your explanation is awesome.
The problem is with trigger as there is no such direct trigger I found. I am able to change the Status of Execution based on Test Runs' status using GraphQL through Field Change or Comment trigger ( used just for testing) but it'll not save time and is equivalent to changing the status manually. I'll explore webhook.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.