URI and payload for adding new labels using ZAPI

Hi,

I have been struggling to get the correct URI and paylod required to add a new label  to a test case using PUT call.

Please can anyone help me with the URI and Payload that works?

2 answers

Hi Umesh

Thanks for your interest in Zephyr.I second  Sam on this post

Please note that we ie "Test" being an issue type in Jira it will follow all the APIs from Jira ie Create Issue , Create  Labels etc

Please note that ZAPI  doesnt have an API to update Test case

We would request you to sign up to "support.getzephyr.com/hc/en-us" and use the option "Submit a Case" to raise a ticket with us in case you needed further clarification about this

Thanks

ZephyrSupport

0 vote

Hi Umesh,

I've added labels and moved your post so it has more chance of being answered by people who know about ZAPi.

Does this have to be done using ZAPI?

If the test case is just a JIRA issue, you might be able to add the label using the edit issue resource in offered by the JIRA REST API. There's an example of a payload including label updates shown in the docs.

If it must be Zapi, you might want to contact the vendor (Zephyr) directly. See the contact links on the Zapi marketplace listing - you can get to the their support website and the Zapi Docs and API Spec from there.

Thanks Sam, We use the Zephyr plugin to manage our testcases, it appears the Jira REST API's are not compatible with Zephyr so as suggested I need to contact Zephyr directly.

Sam Hall Community Champion Apr 05, 2017

Ok. Good luck. If you find the answer, please post update here to help the community in general.

Maybe you will get an answer here in the meantime.

The other option I should mention is that you could also ask on: https://community.developer.atlassian.com/

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

176 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you