com.atlassian.jira.rest.v1.labels
Class IssueLabelsResource

java.lang.Object
  extended by com.atlassian.jira.rest.v1.labels.IssueLabelsResource

public class IssueLabelsResource
extends Object

REST resource to interact with the labels for an issue.

Since:
v4.2

Nested Class Summary
static class IssueLabelsResource.LabelListStruct
           
static class IssueLabelsResource.LabelStruct
           
static class IssueLabelsResource.SuggestionListStruct
           
static class IssueLabelsResource.SuggestionStruct
           
 
Constructor Summary
IssueLabelsResource(JiraAuthenticationContext jiraAuthenticationContext, LabelService labelService, ContextI18n i18nHelper, ApplicationProperties applicationProperties)
           
 
Method Summary
 javax.ws.rs.core.Response getLabels(Long issueId, Long customFieldId)
           
 javax.ws.rs.core.Response getSuggestions(Long issueId, Long customFieldId, String token)
           
 javax.ws.rs.core.Response getSuggestions(Long customFieldId, String token)
           
 javax.ws.rs.core.Response setLabels(Long issueId, Long customFieldId, String concatenatedLabels)
           
static Set<String> splitLabels(String concatenatedLabels)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueLabelsResource

public IssueLabelsResource(JiraAuthenticationContext jiraAuthenticationContext,
                           LabelService labelService,
                           ContextI18n i18nHelper,
                           ApplicationProperties applicationProperties)
Method Detail

getLabels

public javax.ws.rs.core.Response getLabels(Long issueId,
                                           Long customFieldId)

getSuggestions

public javax.ws.rs.core.Response getSuggestions(Long customFieldId,
                                                String token)

getSuggestions

public javax.ws.rs.core.Response getSuggestions(Long issueId,
                                                Long customFieldId,
                                                String token)

setLabels

public javax.ws.rs.core.Response setLabels(Long issueId,
                                           Long customFieldId,
                                           String concatenatedLabels)

splitLabels

public static Set<String> splitLabels(String concatenatedLabels)


Copyright © 2002-2012 Atlassian. All Rights Reserved.