URI and payload for adding new labels using ZAPI


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



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.

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
Community showcase
Published Wednesday in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


192 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