You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Dear community,
does anybody have an idea how I can automate to add tests to a xray testset? The automation rule should start scheduled (e.g. every 1 day) and then add existing tests to be found via a JQL query to a given fixed testset.
Thank your for your support and ideas.
Hi @M_K_ - welcome to the community,
it´s possible with calling a "send webrequest" action within your automation rule that will then calls the GraphQL-API of XRAY.
There is a method to either addTestsToTestSet (see the link below):
https://xray.cloud.getxray.app/doc/graphql/addteststotestset.doc.html
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Stefan,
thank you for your proposed solution and sorry for my late reply, but I wasn't available for some days.
Unfortunately the approach doesn't totally fit to my problem. I'm hoping to find a solution that doesn't go via APIs. I rather simply want to use a Jira integrated automation rule that runs e.g. once a night and adds all newly added tests (based on affected systems and components) to a given fixed test set. Only if there is no way at all to solve it Jira-internally I would try to solve this via an external API solution. In my case most likely a Python script.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @M_K_
some things I would like to add here:
1. the action of adding tests to test sets is not a native jira action. Therefore APIs are provided by the vendors to do those things
2. The solution I proposed is mainly processed by an automation rule in the internal Automation for Jira. Nevertheless this automation would have a component (calle "send webrequest" action) that fires an api call (as there is no other action in the jira automation rule that could do this natively).
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.