@Internal public interface

IssueCreationHelperBean

com.atlassian.jira.web.action.issue.IssueCreationHelperBean
Known Indirect Subclasses

This interface is deprecated.
Use IssueService instead (will be moved into jira-core). Since v6.2.

@Internal

This interface is an internal implementation detail and will change without notice.

Clients that depend on @Internal classes and interfaces can not expect to be compatible with any version other than the version they were compiled against (even minor version and milestone releases may break binary compatibility with respect to @Internal elements).

Class Overview

This is a helper bean shared by the Issue Service impl and the Create Issue. It should not be considered API - plugins should use IssueService instead.

Summary

Public Methods
FieldScreenRenderer createFieldScreenRenderer(Issue issueObject)
FieldScreenRenderer createFieldScreenRenderer(ApplicationUser remoteUser, Issue issueObject)
This method is deprecated. Use createFieldScreenRenderer(com.atlassian.jira.issue.Issue) instead. Since v6.2.
List<OrderableField> getFieldsForCreate(ApplicationUser user, Issue issueObject)
Gets the fields that will be shown in the create issue screen for that issues project and issue type
List<String> getProvidedFieldNames(Issue issueObject)
List<String> getProvidedFieldNames(ApplicationUser remoteUser, Issue issueObject)
This method is deprecated. Use getProvidedFieldNames(com.atlassian.jira.issue.Issue) instead. Since v6.2.
void updateIssueFromFieldValuesHolder(FieldScreenRenderer fieldScreenRenderer, MutableIssue issueObject, Map fieldValuesHolder)
void validateCreateIssueFields(JiraServiceContext jiraServiceContext, Collection<String> providedFields, Issue issueObject, FieldScreenRenderer fieldScreenRenderer, OperationContext operationContext, IssueInputParameters issueInputParameters, I18nHelper i18n)
void validateIssueType(Issue issue, OperationContext operationContext, Map actionParams, ErrorCollection errors, I18nHelper i18n)
void validateLicense(ApplicationUser remoteUSer, ErrorCollection errors, I18nHelper i18n)
void validateLicense(ErrorCollection errors, I18nHelper i18n)
Checks that the currently installed license has not expired and all relevant license limitations with respect to user or role counts have not been exceeded.
void validateProject(Issue issue, OperationContext operationContext, Map actionParams, ErrorCollection errors, I18nHelper i18n)
void validateSummary(Issue issue, OperationContext operationContext, Map actionParams, ErrorCollection errors, I18nHelper i18n)

Public Methods

public FieldScreenRenderer createFieldScreenRenderer (Issue issueObject)

public FieldScreenRenderer createFieldScreenRenderer (ApplicationUser remoteUser, Issue issueObject)

This method is deprecated.
Use createFieldScreenRenderer(com.atlassian.jira.issue.Issue) instead. Since v6.2.

public List<OrderableField> getFieldsForCreate (ApplicationUser user, Issue issueObject)

Gets the fields that will be shown in the create issue screen for that issues project and issue type

Parameters
user the user in play
issueObject the as yet saved issue object encompassing project and issue type
Returns
  • the list of fields that will be shown on the create issue screen

public List<String> getProvidedFieldNames (Issue issueObject)

public List<String> getProvidedFieldNames (ApplicationUser remoteUser, Issue issueObject)

This method is deprecated.
Use getProvidedFieldNames(com.atlassian.jira.issue.Issue) instead. Since v6.2.

public void updateIssueFromFieldValuesHolder (FieldScreenRenderer fieldScreenRenderer, MutableIssue issueObject, Map fieldValuesHolder)

public void validateCreateIssueFields (JiraServiceContext jiraServiceContext, Collection<String> providedFields, Issue issueObject, FieldScreenRenderer fieldScreenRenderer, OperationContext operationContext, IssueInputParameters issueInputParameters, I18nHelper i18n)

public void validateIssueType (Issue issue, OperationContext operationContext, Map actionParams, ErrorCollection errors, I18nHelper i18n)

public void validateLicense (ApplicationUser remoteUSer, ErrorCollection errors, I18nHelper i18n)

public void validateLicense (ErrorCollection errors, I18nHelper i18n)

Checks that the currently installed license has not expired and all relevant license limitations with respect to user or role counts have not been exceeded.

See Also

public void validateProject (Issue issue, OperationContext operationContext, Map actionParams, ErrorCollection errors, I18nHelper i18n)

public void validateSummary (Issue issue, OperationContext operationContext, Map actionParams, ErrorCollection errors, I18nHelper i18n)