Interface RapidViewLocationService
- All Known Implementing Classes:
RapidViewLocationServiceImpl
public interface RapidViewLocationService
Allows the lookup of boards that an issue or sprint appears on.
- Since:
- v5.9.4
-
Method Summary
Modifier and TypeMethodDescriptiongetBoardLocationForIssue
(com.atlassian.jira.user.ApplicationUser user, com.atlassian.jira.issue.Issue issue, RapidView rapidView) getBoardLocationForSprint
(com.atlassian.jira.user.ApplicationUser user, Sprint sprint) Given the sprint, returns the precise location of that sprint (on anyRapidView
).getRapidViewsForIssue
(com.atlassian.jira.user.ApplicationUser user, com.atlassian.jira.issue.Issue issue) Given the issue, look up the Rapid Boards it appears on.getRapidViewsForSprint
(com.atlassian.jira.user.ApplicationUser user, Long sprintId) Given the sprint, look up all the Rapid Boards it appears on.
-
Method Details
-
getRapidViewsForIssue
@Nonnull ServiceOutcome<Set<RapidView>> getRapidViewsForIssue(com.atlassian.jira.user.ApplicationUser user, com.atlassian.jira.issue.Issue issue) Given the issue, look up the Rapid Boards it appears on. Search includes all the Rapid Boards meeting at least one of the following conditions:- query for the board explicitly mentions the given issue's project key,
- the board is in the user's "recently viewed boards" (max number in this list is set in application properties; default max is 50)
- Parameters:
user
- the user performing the lookupissue
- the issue being looked up- Returns:
- the outcome; the Rapid Boards that the issue appears on.
-
getRapidViewsForSprint
@Nonnull ServiceOutcome<Set<RapidView>> getRapidViewsForSprint(com.atlassian.jira.user.ApplicationUser user, Long sprintId) Given the sprint, look up all the Rapid Boards it appears on. Calling this method may execute many Lucene queries.- Parameters:
user
- the user performing the lookupsprintId
- the ID of the sprint being looked up- Returns:
- the outcome; the Rapid Boards that the sprint appears on.
-
getBoardLocationForIssue
@Nonnull ServiceOutcome<BoardLocation> getBoardLocationForIssue(com.atlassian.jira.user.ApplicationUser user, com.atlassian.jira.issue.Issue issue, RapidView rapidView) Given the issue and a particularRapidView
, returns the precise location of that issue on theRapidView
. This is used so that we can redirect the user to exactly where the issue is, and not just dropping them on the board.- Parameters:
user
- the user performing the lookupissue
- the issue being looked uprapidView
- the board being looked up- Returns:
- the outcome
-
getBoardLocationForSprint
@Nonnull ServiceOutcome<BoardLocation> getBoardLocationForSprint(com.atlassian.jira.user.ApplicationUser user, Sprint sprint) Given the sprint, returns the precise location of that sprint (on anyRapidView
).- Parameters:
user
- the user performing the lookupsprint
- the sprint being looked up- Returns:
- the outcome
-