@PublicApi
public interface UserIssueTypeManager
Modifier and Type | Method and Description |
---|---|
Optional<IssueTypeId> |
getLastUsedIssueTypeId(ApplicationUser user)
Retrieves the last used parent issue type id used by the provided user.
|
Optional<IssueTypeId> |
getLastUsedSubtaskIssueTypeId(ApplicationUser user)
Retrieves the last used subtask issue type id used by the provided user.
|
void |
setLastUsedIssueTypeId(ApplicationUser user,
IssueTypeId lastUsedIssueTypeId)
Sets the last used parent issue type id for the provided user.
|
void |
setLastUsedSubtaskIssueTypeId(ApplicationUser user,
IssueTypeId lastUsedSubtaskIssueTypeId)
Sets the last used subtask issue type id for the provided user.
|
void setLastUsedIssueTypeId(@Nullable ApplicationUser user, IssueTypeId lastUsedIssueTypeId)
user
- The user to store the last used issue type forlastUsedIssueTypeId
- A valid issue type idvoid setLastUsedSubtaskIssueTypeId(@Nullable ApplicationUser user, IssueTypeId lastUsedSubtaskIssueTypeId)
user
- The user to store the last used issue type forlastUsedSubtaskIssueTypeId
- A valid subtask issue type idOptional<IssueTypeId> getLastUsedIssueTypeId(@Nullable ApplicationUser user)
user
- The currently logged in userOptional<IssueTypeId> getLastUsedSubtaskIssueTypeId(@Nullable ApplicationUser user)
user
- The currently logged in userCopyright © 2002-2019 Atlassian. All Rights Reserved.