1

Using YouTrack API, is it possible to set the default value on a project's field?

For example, as part of a new-project automation routine I need to set the default value of the "Type" field from "Bug" to "Task".

JoshuaDavid
  • 8,861
  • 8
  • 47
  • 55

1 Answers1

1

The option is available via UI. You may set default value under Administration> Projects> your project> click on "Default value" in front of "Type" field and select the target one (e.g. "Task"). Will this work for you?

Andrey Tigay
  • 434
  • 3
  • 6
  • I am automating the creation of a new project, and I want to automate what you just described **via the API**. But it seems it is not possible at this time. – JoshuaDavid Feb 27 '15 at 01:33
  • Correct, there is no such a method for now. Currently, it's possible to set default value via UI only. I've created a task https://youtrack.jetbrains.com/issue/JT-28915 , please, vote and watch for updates. – Andrey Tigay Mar 02 '15 at 10:26