public class

ReleaseNoteManager

extends Object
java.lang.Object
   ↳ com.atlassian.jira.project.util.ReleaseNoteManager

Summary

Nested Classes
class ReleaseNoteManager.IssuesByType  
Constants
String RELEASE_NOTE_DEFAULT
String RELEASE_NOTE_NAME
String RELEASE_NOTE_TEMPLATE
String TEMPLATES_DIR
Public Constructors
ReleaseNoteManager(ApplicationProperties applicationProperties, VelocityTemplatingEngine templatingEngine, ConstantsManager constantsManager, SearchProvider searchProvider, CustomFieldManager customFieldManager)
Public Methods
String getReleaseNote(Action action, String releaseNoteStyleName, Version version, User user, GenericValue project)
Returns a release note for this version, using the specified releaseNoteStyleName.
Map<StringString> getStyles()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String RELEASE_NOTE_DEFAULT

Constant Value: "jira.releasenotes.default"

public static final String RELEASE_NOTE_NAME

Constant Value: "jira.releasenotes.templatenames"

public static final String RELEASE_NOTE_TEMPLATE

Constant Value: "jira.releasenotes.templates"

public static final String TEMPLATES_DIR

Constant Value: "templates/jira/project/releasenotes/"

Public Constructors

public ReleaseNoteManager (ApplicationProperties applicationProperties, VelocityTemplatingEngine templatingEngine, ConstantsManager constantsManager, SearchProvider searchProvider, CustomFieldManager customFieldManager)

Public Methods

public String getReleaseNote (Action action, String releaseNoteStyleName, Version version, User user, GenericValue project)

Returns a release note for this version, using the specified releaseNoteStyleName. The issues returned will be the issues that the user has permission to see.

Throws
IllegalArgumentException if there is no matching template for this releaseNoteStyleName

public Map<StringString> getStyles ()