Documentation
¶
Index ¶
Constants ¶
View Source
const NAME = "AssignmentRules"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignmentRules ¶
type AssignmentRules struct {
metadata.MetadataInfo
XMLName xml.Name `xml:"AssignmentRules"`
Xmlns string `xml:"xmlns,attr"`
AssignmentRule []struct {
FullName TextLiteral `xml:"fullName"`
Active TextLiteral `xml:"active"`
RuleEntry []struct {
AssignedTo *TextLiteral `xml:"assignedTo"`
AssignedToType *TextLiteral `xml:"assignedToType"`
BooleanFilter *TextLiteral `xml:"booleanFilter"`
CriteriaItems []FilterItem `xml:"criteriaItems"`
Formula *TextLiteral `xml:"formula"`
NotifyCcRecipients *TextLiteral `xml:"notifyCcRecipients"`
OverrideExistingTeams *TextLiteral `xml:"overrideExistingTeams"`
Team []TextLiteral `xml:"team"`
Template *TextLiteral `xml:"template"`
} `xml:"ruleEntry"`
} `xml:"assignmentRule"`
}
func Open ¶
func Open(path string) (*AssignmentRules, error)
func (*AssignmentRules) SetMetadata ¶
func (c *AssignmentRules) SetMetadata(m metadata.MetadataInfo)
func (*AssignmentRules) Type ¶
func (c *AssignmentRules) Type() metadata.MetadataType
type FilterItem ¶ added in v0.69.0
type FilterItem struct {
Field TextLiteral `xml:"field"`
Operation TextLiteral `xml:"operation"`
Value *TextLiteral `xml:"value"`
ValueField *TextLiteral `xml:"valueField"`
}
FilterItem is one criterion of a rule entry
Click to show internal directories.
Click to hide internal directories.