Class LabelsResource
java.lang.Object
com.atlassian.jira.gadgets.system.LabelsResource
Labels Resource for the label gadget
- Since:
- v4.2
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionLabelsResource(CustomFieldManager customFieldManager, JiraAuthenticationContext authenticationContext, AlphabeticalLabelRenderer alphabeticalLabelRenderer, ProjectService projectService, FieldManager fieldManager, LabelUtil labelUtil, AlphabeticalLabelGroupingService alphabeticalLabelGroupingService) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Responsejavax.ws.rs.core.ResponsegetLabelGroups(String project, String fieldId) javax.ws.rs.core.ResponsegetLabelsGroupsJSON(String projectKey, String fieldId) javax.ws.rs.core.Response
-
Constructor Details
-
LabelsResource
@Inject public LabelsResource(CustomFieldManager customFieldManager, JiraAuthenticationContext authenticationContext, AlphabeticalLabelRenderer alphabeticalLabelRenderer, ProjectService projectService, FieldManager fieldManager, LabelUtil labelUtil, AlphabeticalLabelGroupingService alphabeticalLabelGroupingService)
-
-
Method Details
-
getLabelFields
@GET @Path("gadget/fields") @Produces("application/json") public javax.ws.rs.core.Response getLabelFields() -
validateLabelGadgetConfiguration
@GET @Path("gadget/configuration/validate") @Produces("application/json") public javax.ws.rs.core.Response validateLabelGadgetConfiguration() -
getLabelGroups
-
getLabelsGroupsJSON
-