Class CurrentProjectService
java.lang.Object
com.atlassian.jira.projects.service.CurrentProjectService
Provides a method to set the current user's current project.
A user's current project is shown in the application header's "Projects"
drop-down and is used to pre-fill project inputs in various places.
-
Constructor Summary
ConstructorsConstructorDescriptionCurrentProjectService(JiraAuthenticationContext authenticationContext, ProjectService projectService, UserProjectHistoryManager userProjectHistoryManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetCurrentProject(String key) Set the current user's current project.
-
Constructor Details
-
CurrentProjectService
@Autowired public CurrentProjectService(JiraAuthenticationContext authenticationContext, ProjectService projectService, UserProjectHistoryManager userProjectHistoryManager)
-
-
Method Details
-
setCurrentProject
Set the current user's current project.- Parameters:
key- The key of the project to set.
-