ManagerFactory has been Deprecated in JIRA 4.3. What can I replace it's function with?

Dalectric
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2011

I have been using ManagerFactory in my plugins to flush the cache after create a subtask and getting an issue type

ManagerFactory.getConstantsManager ().getIssueType(issType)

issType is a string formatted number identifying the issue type ID e.g. "72"

I believe the cache flushing is no longer needed so I have commented that out.

But how can I now get the issue type for an issue?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 votes
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2011

Ge the ConstantsManager form ComponentManager instance as follows:

ComponentManager.getInstance().getConstantsManager().getIssueType(issType)

TAGS
AUG Leaders

Atlassian Community Events