Extend API to list/add/remove projects to "Structure enabled for projects"
In bigger environments projects are usually created with a script. If a project needs structure you have to manually add it to the list of Structure enabled projects.
It would be great to have this administration capabilities (list/add/remove) provided by an API (REST API preferred)
functionality exists – see comment
-
Torben commented
Thanks for the Information. I checked the Java api doc but I must have overlooked it.
-
Additionally, you can enable all projects for Structure, of course.
-
Hi Torben,
Thanks for your request. This is possible through Java API currently. Use StructureConfiguration interface and getPickedProjectIds() / setPickedProjectIds() methods - http://almworks.com/structure/javadoc/latest/com/almworks/jira/structure/api/StructureConfiguration.html
It's not the best part of the API, but it works. No REST API for it so far, sorry, but you can mimic POST request made from the corresponding JIRA Administration page.
Hope this helps!
Igor