Class ObjectTicketFacadeImpl
java.lang.Object
com.riadalabs.jira.plugins.insight.channel.external.api.facade.impl.ObjectTicketFacadeImpl
- All Implemented Interfaces:
ObjectTicketFacade
-
Constructor Summary
ConstructorsConstructorDescriptionObjectTicketFacadeImpl
(com.riadalabs.jira.plugins.insight.services.core.ObjectTicketService objectTicketService) -
Method Summary
Modifier and TypeMethodDescriptionfindTicketsForObject
(int objectId, Long filterId, Integer limit) Retrieve all open tickets connected to the provided object.
-
Constructor Details
-
ObjectTicketFacadeImpl
public ObjectTicketFacadeImpl(com.riadalabs.jira.plugins.insight.services.core.ObjectTicketService objectTicketService)
-
-
Method Details
-
findTicketsForObject
@Nonnull public ObjectTicketsEntry findTicketsForObject(int objectId, @Nullable Long filterId, @Nullable Integer limit) Description copied from interface:ObjectTicketFacade
Retrieve all open tickets connected to the provided object. The returned tickets will be filtered by the filter id. The logged-in user requires View permission on the tickets to be able to see them. Note: This omits tickets which are done, this is when they have a Resolution set.- Specified by:
findTicketsForObject
in interfaceObjectTicketFacade
filterId
- filter the tickets based on the filter id. If filterId is null no filter will be used. E.g. in the context of Jira the filterId will be the id on an available JQL filterlimit
- limit the result set to the amount of objects. If the limit is null all connected tickets will be returned
-