Zephyr Scale Server/DC Ideas

Search, vote, comment and create ideas for Zephyr Scale improvements here. For more information on our review process, see here.

Configure labels via the API for project settings

We have multiple projects using similar labels. I would like to automate project creation to add labels for each project.

Other idea would have a "global template" for projects, where you could define, custom fields, labels etc. to be added

  • Antti M
  • Jan 13 2021
  • Gathering Interest
As a... Test Lead
I would like... add labels throught api
So that I... don't need to do it manually for each project separately through UI
  • Attach files
  • Christoph Beer commented
    6 Dec, 2021 10:09am

    Hi Dee,

    we are also using an existig project to create new projects with identical setup.

    Unfortunately I have to setup the TM4J settings manually. And thats not limited to the settings in ZephyrScale (Environments is possible via REST API already, in particular we need the TestExecution Statuses to be configured) but also the settings in Project Settings/Zephyr scale like issuetype enabled and the permissions need to be configured manually.
    This manual configuration makes changes in the setup almost impossible.

    Configuring more/all settings via API (also Project Settings) would be very my favourite as I could automate the creation of a project completely.

    But copying the complete setup from another project would be a suitable option as well. And it should also be possible to apply a new copy at any time.


    Thanks


    Christoph

  • Antti M commented
    15 Jan, 2021 06:04am

    Hi Dee,

    We are using a "master test project" which acts as a repository of test cases for all projects. We either import testcases or use them linked in cycles. Having the option to copy project settings (for us key items would be; custom fields, environments, folders, labels) from this "master" project would be great. When configuring projects I'm currently leaning towards doing it through API to avoid clicking/repeative tasks, but like said having the option to copy settings from project to others would "meet the need" :)

    -AM

  • Admin
    Deita Howard commented
    14 Jan, 2021 12:36pm

    Thanks for this, Antti.

    Great suggestion. Do you usually use the API for configuring projects or the UI? And if you're using the API, is it because you can bulk update some configs?

    We're interested to know more as we've been discussing the option of copying configs between projects in the UI.

    Thanks,

    Dee