Skip to main content

 Element reference

Service API elements from <alias> to <workflow>

<labels>

Summary

A comma-separated list of labels.

The <labels> element lists the labels attached to a comment as comma-separated values.

Labels are configured using the label configuration.

Usage context

Permitted contenttext
Permitted parent<comment>, <event>

Attributes

No attributes.

Examples

<labels>important,security</labels>

Schema

XML Schema

<xs:element name="labels" type="label-list"/>

<xs:simpleType name="label-list">
  <xs:restriction base="xs:string">
    <xs:pattern value="[a-zA-Z0-9_\-,]*"/>
  </xs:restriction>
</xs:simpleType>

Relax Schema

element labels { text }

Compatibility

No change since initial API release.

Created on , last edited on