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.
We're using the Xray tool for QA. I've created an automation task for the "Test Execution" issue using the Jira Automation add-on. It triggers base on text in a "Story". I mean when a story issue gets created and has some certain texts then it creates the Test Execution issue. That part is working well.
I would like to have a "Test" attached to a "Test Execution" whenever it gets created. The "Test" issue will be the same all-time for this project. The "Test Execution" Issue type has two tabs "General" and "Test Execution Details" in it's create issue screen. In "Test Execution Details" tab there is a field "Tests" where you can attach Test issues. I can't find that field from the Automation where I created the task. This is a built-in field from the Xray tool since I can't find it from the custom field list. I clicked on inspect and found the field id from the source code and tried to use the JSON option to adds the value "DP-17" in that field but it is not adding it. I tried multiple options nothing worked.
Any idea how I can make it works? Attaching screenshots that may help.
Option one
{"update": {
"customfield_13115": [
{ "add": {
"key": "DP-17" }
} ]
} }
Option 2
"customfield_13115": "DP-17"
Thank you
Hey @Shah Baloch,
This post sounds like it's related to the issue you're facing:
https://community.atlassian.com/t5/Marketplace-Apps-Integrations/XRay-and-Automation-smart-values/qaq-p/1648050
Thanks,
John
I viewed the other post and linked provided there, it is complicated. I couldn't understand. Thank you for sharing though.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Shah Baloch
Since Jira Automation can execute Web Requests, please try the idea of using Xray REST API to add a Test to a Test Execution.
Please use the POST method described in this documentation page: https://docs.getxray.app/display/XRAY/Test+Executions+-+REST
Thank you.
Kind regards,
Rogério Paiva [Xray Support Team]
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.