Expose managers through ComponentManager

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Won't Do
    • None
    • Component/s: None
    • None

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      There appear to be two approved ways of getting a JIRA Manager object in code:

      1. Declare the Manager as a parameter in your constructor:
        public class MyComponent {
        
          private worklogManager;
        
          public MyComponent(WorklogManager worklogManager, ....) {
            this.worklogManager = workflowManager;
           ....
          }
           ....
        }
        
      2. Call ComponentManager.getXxxManager.

      If this is the case, then on each release we should make sure that all Managers are exposed through ComponentManager.

              Assignee:
              Unassigned
              Reporter:
              Jeff Turner
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: