Class EpicResource
java.lang.Object
com.atlassian.greenhopper.web.AbstractResource
com.atlassian.greenhopper.web.rapid.issue.issuelink.EpicResource
@Path("epics")
@Consumes("application/json")
@Produces("application/json")
public class EpicResource
extends AbstractResource
Resource for changing epic-issue links.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
-
Field Summary
Fields inherited from class com.atlassian.greenhopper.web.AbstractResource
authenticationContext, log
-
Constructor Summary
ConstructorsConstructorDescriptionEpicResource
(EpicService epicService, EpicPickerService epicPickerService, IssueHelper issueHelper, IssueTypeService issueTypeService, EpicLabelProviderImpl epicLabelProvider, com.atlassian.jira.issue.fields.rest.json.beans.JiraBaseUrls jiraBaseUrls, com.atlassian.applinks.host.spi.InternalHostApplication internalHostApplication, PermissionService permissionService, EpicLinkedPagesModelFactory epicLinkedPagesModelFactory) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
associateIssuesToEpic
(String epicKey, EpicResource.AddToEpicRequest addToEpicRequest) jakarta.ws.rs.core.Response
disassociateIssuesFromEpic
(EpicResource.RemoveFromEpicRequest removeFromEpicRequest) Remove the epic for the list of passed issuesjakarta.ws.rs.core.Response
Returns all the confluence pages linked to the given epicjakarta.ws.rs.core.Response
linkPage
(String epicKey, EpicResource.LinkPageToEpicModel model) Links a confluence page to an epicjakarta.ws.rs.core.Response
listEpics
(String searchQuery, int maxResults, String projectKeys, boolean hideDone, String query, boolean filterEpicByGivenProjects) Methods inherited from class com.atlassian.greenhopper.web.AbstractResource
check, checkResult, createNoContentResponse, createOkResponse, createOkResponse, getUser, isGadgetRequest, nullSafe, response, responseWithoutAccessCheck
-
Constructor Details
-
EpicResource
@Inject public EpicResource(EpicService epicService, EpicPickerService epicPickerService, IssueHelper issueHelper, IssueTypeService issueTypeService, EpicLabelProviderImpl epicLabelProvider, com.atlassian.jira.issue.fields.rest.json.beans.JiraBaseUrls jiraBaseUrls, com.atlassian.applinks.host.spi.InternalHostApplication internalHostApplication, PermissionService permissionService, EpicLinkedPagesModelFactory epicLinkedPagesModelFactory)
-
-
Method Details
-
associateIssuesToEpic
@PUT @Path("{epicKey}/add") public jakarta.ws.rs.core.Response associateIssuesToEpic(@PathParam("epicKey") String epicKey, EpicResource.AddToEpicRequest addToEpicRequest) -
disassociateIssuesFromEpic
@PUT @Path("remove") public jakarta.ws.rs.core.Response disassociateIssuesFromEpic(EpicResource.RemoveFromEpicRequest removeFromEpicRequest) Remove the epic for the list of passed issues -
getPages
@GET @Path("{epicKey}/pages") public jakarta.ws.rs.core.Response getPages(@PathParam("epicKey") String epicKey) Returns all the confluence pages linked to the given epic- Parameters:
epicKey
-- Returns:
-
linkPage
@POST @Path("/{epicKey}/pages") public jakarta.ws.rs.core.Response linkPage(@PathParam("epicKey") String epicKey, EpicResource.LinkPageToEpicModel model) Links a confluence page to an epic- Parameters:
epicKey
-model
-- Returns:
-
listEpics
@GET public jakarta.ws.rs.core.Response listEpics(@QueryParam("searchQuery") String searchQuery, @QueryParam("maxResults") int maxResults, @QueryParam("projectKey") String projectKeys, @QueryParam("hideDone") boolean hideDone, @QueryParam("query") String query, @QueryParam("filterEpicsByGivenProjects") boolean filterEpicByGivenProjects)
-