Class CurrentProjectService

java.lang.Object
com.atlassian.jira.projects.service.CurrentProjectService

@Component public class CurrentProjectService extends Object
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 Details

  • Method Details

    • setCurrentProject

      public void setCurrentProject(String key)
      Set the current user's current project.
      Parameters:
      key - The key of the project to set.