Package com.atlassian.jira.project.util
Class ReleaseNoteManager
java.lang.Object
com.atlassian.jira.project.util.ReleaseNoteManager
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionReleaseNoteManager(ApplicationProperties applicationProperties, VelocityTemplatingEngine templatingEngine, ConstantsManager constantsManager, SearchService searchService, CustomFieldManager customFieldManager) -
Method Summary
Modifier and TypeMethodDescriptiongetReleaseNote(webwork.action.Action action, String releaseNoteStyleName, Version version, ApplicationUser user, Project project) Returns a release note for this version, using the specified releaseNoteStyleName.
-
Field Details
-
RELEASE_NOTE_NAME
- See Also:
-
RELEASE_NOTE_DEFAULT
- See Also:
-
RELEASE_NOTE_TEMPLATE
- See Also:
-
TEMPLATES_DIR
- See Also:
-
-
Constructor Details
-
ReleaseNoteManager
public ReleaseNoteManager(ApplicationProperties applicationProperties, VelocityTemplatingEngine templatingEngine, ConstantsManager constantsManager, SearchService searchService, CustomFieldManager customFieldManager)
-
-
Method Details
-
getStyles
-
getReleaseNote
public String getReleaseNote(webwork.action.Action action, String releaseNoteStyleName, Version version, ApplicationUser user, Project 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
-