Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,554,476
Community Members
 
Community Events
184
Community Groups

jira test execution fields automation

Im trying to automate updating the Zephyr test case status to PASS/FAIL

Can someone please help me to figure out how to get the field names of Test Cycle/Status/Version of a particular Test case??

1 comment

Bibek Behera
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 02, 2020
Bibek Behera
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 02, 2020

@Vasu_Repaka ,

 

You should pick any execution on your instance and go to the execution page. There you should be able to get the IDs in the URL. I am just adding a sample from my setup.

 

API.png

@Bibek Behera   - Thank you.

Actually following is the way i would like to update my test case

Sample code:

Issue issue = jira.getIssue("TA-1"); (here jira is an object of JiraClient)
issue.addComment("");
issue.createSubtask();

If you see i could able to access all the fields like commenting on the test case(TA-1), creating a sub-task for the same and etc

But here i dint find any relevant method to make my test execution status to change. I don't want to use the rest api calls to make this possible.

Any suggestions please?

Bibek Behera
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 02, 2020

@Vasu_Repaka ,

 

With out using the ZAPIs it would not be possible as the execution details are plugin specific, which can't be assessed via JIRA's native methods.

 

-Bibek 

@Bibek_Behera - Yes, understood now. I'm very new to API testing. Ill try to explore on the same.

If you can share any sample code on this will really helps me.

Thank you for your time.

Comment

Log in or Sign up to comment