Hello!
I'm working on setting up a Jira Automation rule to automatically transition a Test Set to "In Progress" when the first Test is added to that Test Set in Xray. However, I'm running into difficulties because this relationship between Test Sets and Tests in Xray is not a standard Jira issue link relationship.
I initially considered using the "Issue Updated" trigger, assuming that adding a Test would update the Test Set. However, it seems that simply adding a Test to a Test Set doesn't trigger an update on the Test Set itself, meaning the rule doesn't run.
What would be the best way to trigger an automation rule immediately when a Test is added to a Test Set in Xray? Are there any best practices or workarounds for this specific type of action in Jira/Xray?
Xray doesn't seem to offer this in automation as you discovered.
I looked at maybe a possibility to send a web request via automation to the xray API, but the API has no calls for this.
You might want to reach out to xray support and see if they might have a solution.
If so could you post it in this thread, I'm interested as well.
Hey @Marc - Devoteam
thanks for your answer, I already asked to Xray support without success.
I'm not sure if I understood your comment about sending web request to the Xray API. I have successfully built automations rules using Xray native actions sending request to their graphql api, for example to add Tests into Test sets or Test executions. The challenge here is to catch a Xray native action to set it as the trigger of the whole rule execution.
:)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no Xray native action that can be used as a trigger in automation.
There you might want to reach out to xray support and see if they might have a solution.
Or if they have option to have custom triggers in automation like other apps do, it might be on their backlog.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, this is not currently possible.
I would recommend reaching out to Xray support team so you can provide that as a feature request.
I don't see any workaround for it, at least something that wouldn't be super cumbersome. You could implement some periodic rule using Jira Automation, to get info about the Test Set once in a while.. but that would be a hard path.
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.