This might be a long shot, but I’m going to ask the community in case someone has already figured this out.
I'm trying to use Jira Automation to retrieve the 'Components' data from an Xray Test when it is added to an Xray Test Execution and then add those 'Components' to the Test Execution.
Since Xray doesn't use the 'Link Issue' functionality to connect Xray Test tickets to the Xray Test Execution ticket, I’m unsure how to trigger the event or capture the data.
Any assistance would be greatly appreciated.
For context, I’ve already spoken with Xray support, but the agent wasn’t aware of a solution. They opened a support ticket for the engineering team to investigate, but I’m hoping to find a quicker answer from the community if possible.
Thanks @Marc - Devoteam and @Stefan Salzl for the info. :-)
I reached out to Xray and they gave me the following info. You are right they do not have event triggers that can be called via Jira Automation but they do have APIs that can be used.
---
Hello Edie,
Greetings for the day!
As discussed earlier, we do not have any event triggers in Xray Cloud that can help with such an automation process.
The only alternative is to check all the Tests to see what are the Test Executions using APIs and use them for your automation.
Thank you!
Kind regards,
XXXXXX[Xray Support Team]
---
Hello Edie,
Greetings for the day!
Please our GraphQL API methods to check what the Tests are added to the Test Execution and vice versa.
getTestExecutions
getTests
The endpoint for all the Graphql API is https://xray.cloud.getxray.app/doc/graphql/
Also, please use POST method even for getting the information.
Thank you!
Kind regards,
XXXXXX[Xray Support Team]
I‘m aware of the xray APIs and how to retrieve the data but I‘m still not seeing the trigger to call the API?
your original post says „when a test is added to a testExecution“.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There has been a similar question on the community related to this subject, around Xray.
This was around adding Tests to a Test Set based on editing of a Test.
There is no data action in relation to this that's recorded by JIra, the same applies to your request.
Jira doesn't see this as an edit action os there is no option in automaton to use this as a trigger.
This is pure Xray functionality and only related to Xray. Automation is not able to use this as a trigger.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
here is the reference to the question @Marc - Devoteam mentioned recently:
Unfortunately XRAY actions are specific actions (different from native jira actions). A4J can only fetch/use native Jira actions as triggers.
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.