Interface ObjectTicketFacade
- All Known Implementing Classes:
ObjectTicketFacadeImpl
@PublicApi
public interface ObjectTicketFacade
Service interface to access Assets tickets.
- Since:
- 8.4.0
-
Method Summary
Modifier and TypeMethodDescriptionfindTicketsForObject
(int objectId, Long filterId, Integer limit) Retrieve all open tickets connected to the provided object.
-
Method Details
-
findTicketsForObject
@Nonnull ObjectTicketsEntry findTicketsForObject(int objectId, @Nullable Long filterId, @Nullable Integer limit) 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.- Parameters:
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
-