agilepathway / gauge-confluence

Publishes Gauge specifications to Confluence. This is a documentation plugin for Gauge.
Apache License 2.0
3 stars 0 forks source link

Label the Confluence Space #58

Open johnboyes opened 3 years ago

johnboyes commented 3 years ago

Rules and examples:

rule: if the space doesn't exist, labels are added to the created space when the plugin runs

rule: dry run mode doesn't cause any labelling

rule: if the space already has other existing labels, they are preserved

rule: space always has the labels documentation and gauge after the plugin runs

rule: labels can only be added if the user has space administrator permissions

rule: if the user does not have space administrator permissions, the plugin does not add the labels but otherwise finishes successfully

johnboyes commented 3 years ago

It makes sense to use the documentation label as that is one of Confluence's default labels for the different Confluence Space templates

johnboyes commented 3 years ago

Confluence documentation says that labels can't be added when creating a Space via the REST API