public interface LabelStore
| Modifier and Type | Method and Description |
|---|---|
Label |
addLabel(Long issueId,
Long customFieldId,
String label)
Adds a new label to the issue for the custom field specified.
|
Set<Label> |
getLabels(Long issueId,
Long customFieldId)
Returns all the labels for the given issue and custom field.
|
void |
removeLabel(Long labelId,
Long issueId,
Long customFieldId)
Removes the label identified by id
|
Set<Long> |
removeLabelsForCustomField(Long customFieldId)
Deletes all labels for a given custom field.
|
Set<Label> |
setLabels(Long issueId,
Long customFieldId,
Set<String> labels)
Sets the labels for a particular issue and field combo to the set specified as a parameter.
|
Set<Label> getLabels(Long issueId, Long customFieldId)
issueId - The issue id that the label is linked againstcustomFieldId - Custom field id for the labels CF or null if it's the system field.Set<Label> setLabels(Long issueId, Long customFieldId, Set<String> labels)
issueId - The issue id that the label is linked againstcustomFieldId - Custom field id for the labels CF or null if it's the system field.labels - the new labels for this issue and custom field comboLabel addLabel(Long issueId, Long customFieldId, String label)
issueId - The issue id that the label is linked againstcustomFieldId - Custom field id for the labels CF or null if it's the system field.label - The new label to addvoid removeLabel(Long labelId, Long issueId, Long customFieldId)
issueId - The issue id that the label is linked againstcustomFieldId - Custom field id for the labels CF or null if it's the system field.labelId - The id of the label to deleteSet<Long> removeLabelsForCustomField(Long customFieldId)
customFieldId - The custom field id for which to delete labelsCopyright © 2002-2017 Atlassian. All Rights Reserved.