Modifier and Type | Method and Description |
---|---|
IssueInputParameters |
DefaultIssueService.newIssueInputParameters() |
IssueInputParameters |
IssueService.newIssueInputParameters()
Constructs a new IssueInputParameters object with no initial values.
|
IssueInputParameters |
DefaultIssueService.newIssueInputParameters(Map<String,String[]> actionParameters) |
IssueInputParameters |
IssueService.newIssueInputParameters(Map<String,String[]> actionParameters)
Constructs a new IssueInputParameters object with initial values provided by the input Map.
|
Modifier and Type | Method and Description |
---|---|
IssueService.CreateValidationResult |
DefaultIssueService.validateCreate(ApplicationUser user,
IssueInputParameters issueInputParameters) |
IssueService.CreateValidationResult |
IssueService.validateCreate(ApplicationUser user,
IssueInputParameters issueInputParameters)
This method will validate parameters and check permissions and if all checks pass it will create an
Issue
that can be passed to the IssueService.create(ApplicationUser, CreateValidationResult) method. |
IssueService.CreateValidationResult |
DefaultIssueService.validateSubTaskCreate(ApplicationUser user,
Long parentId,
IssueInputParameters issueInputParameters) |
IssueService.CreateValidationResult |
IssueService.validateSubTaskCreate(ApplicationUser user,
Long parentId,
IssueInputParameters issueInputParameters)
This method does the same as
IssueService.validateCreate(ApplicationUser, IssueInputParameters) and it allows you to
specify a
parentId such that the created issue will be a subtask of the provided parent id. |
IssueService.TransitionValidationResult |
DefaultIssueService.validateTransition(ApplicationUser user,
Long issueId,
int actionId,
IssueInputParameters issueInputParameters) |
IssueService.TransitionValidationResult |
IssueService.validateTransition(ApplicationUser user,
Long issueId,
int actionId,
IssueInputParameters issueInputParameters)
This method will validate parameters and check the transition conditions and if all checks pass it will construct
a new instance of the
Issue and will update it with the new parameters. |
IssueService.TransitionValidationResult |
DefaultIssueService.validateTransition(ApplicationUser user,
Long issueId,
int actionId,
IssueInputParameters issueInputParameters,
TransitionOptions transitionOptions) |
IssueService.TransitionValidationResult |
IssueService.validateTransition(ApplicationUser user,
Long issueId,
int actionId,
IssueInputParameters issueInputParameters,
TransitionOptions transitionOptions)
This method will validate parameters and check the transition conditions and if all checks pass it will construct
a new instance of the
Issue and will update it with the new parameters. |
IssueService.UpdateValidationResult |
DefaultIssueService.validateUpdate(ApplicationUser user,
Long issueId,
IssueInputParameters issueInputParameters) |
IssueService.UpdateValidationResult |
IssueService.validateUpdate(ApplicationUser user,
Long issueId,
IssueInputParameters issueInputParameters)
This method will validate parameters and check permissions and if all checks pass it will construct a new
instance of the
Issue and will update it with the new parameters. |
Modifier and Type | Class and Description |
---|---|
class |
IssueInputParametersImpl
Default implementation of IssueInputParameters.
|
Modifier and Type | Method and Description |
---|---|
IssueInputParameters |
IssueInputParametersImpl.addCustomFieldValue(Long customFieldId,
String... values) |
IssueInputParameters |
IssueInputParameters.addCustomFieldValue(Long customFieldId,
String... values)
Adds a value for a custom field with the specified id.
|
IssueInputParameters |
IssueInputParametersImpl.addCustomFieldValue(String fullCustomFieldKey,
String... values) |
IssueInputParameters |
IssueInputParameters.addCustomFieldValue(String fullCustomFieldKey,
String... values)
Adds a value for a custom field with the specified full key.
|
IssueInputParameters |
IssueInputParametersImpl.addProperty(String propertyKey,
org.codehaus.jackson.JsonNode propertyValue) |
IssueInputParameters |
IssueInputParameters.addProperty(String propertyKey,
org.codehaus.jackson.JsonNode propertyValue)
Allows properties to be set on issues during create or update
|
IssueInputParameters |
IssueInputParametersImpl.setAffectedVersionIds(Long... affectedVersionIds) |
IssueInputParameters |
IssueInputParameters.setAffectedVersionIds(Long... affectedVersionIds) |
IssueInputParameters |
IssueInputParametersImpl.setAssigneeId(String assigneeId) |
IssueInputParameters |
IssueInputParameters.setAssigneeId(String assigneeId) |
IssueInputParameters |
IssueInputParametersImpl.setComment(String comment) |
IssueInputParameters |
IssueInputParameters.setComment(String comment)
Set a comment value with no visibility restrictions.
|
IssueInputParameters |
IssueInputParametersImpl.setComment(String comment,
Long projectRoleId) |
IssueInputParameters |
IssueInputParameters.setComment(String comment,
Long projectRoleId)
Set a comment value with a project role restriction.
|
IssueInputParameters |
IssueInputParametersImpl.setComment(String comment,
String groupId) |
IssueInputParameters |
IssueInputParameters.setComment(String comment,
String groupId)
Set a comment value with a group restriction.
|
IssueInputParameters |
IssueInputParametersImpl.setComponentIds(Long... componentIds) |
IssueInputParameters |
IssueInputParameters.setComponentIds(Long... componentIds) |
IssueInputParameters |
IssueInputParametersImpl.setDescription(String description) |
IssueInputParameters |
IssueInputParameters.setDescription(String description) |
IssueInputParameters |
IssueInputParametersImpl.setDueDate(String dueDate) |
IssueInputParameters |
IssueInputParameters.setDueDate(String dueDate) |
IssueInputParameters |
IssueInputParametersImpl.setEnvironment(String environment) |
IssueInputParameters |
IssueInputParameters.setEnvironment(String environment) |
IssueInputParameters |
IssueInputParametersImpl.setFixVersionIds(Long... fixVersionIds) |
IssueInputParameters |
IssueInputParameters.setFixVersionIds(Long... fixVersionIds) |
IssueInputParameters |
IssueInputParametersImpl.setHistoryMetadata(HistoryMetadata historyMetadata) |
IssueInputParameters |
IssueInputParameters.setHistoryMetadata(HistoryMetadata historyMetadata)
Allows defining history metadata related to the issue update.
|
IssueInputParameters |
IssueInputParametersImpl.setIssueTypeId(String issueTypeId) |
IssueInputParameters |
IssueInputParameters.setIssueTypeId(String issueTypeId) |
IssueInputParameters |
IssueInputParametersImpl.setOriginalAndRemainingEstimate(Long originalEstimate,
Long remainingEstimate) |
IssueInputParameters |
IssueInputParameters.setOriginalAndRemainingEstimate(Long originalEstimate,
Long remainingEstimate)
Sets both the original and remaining estimate on the issue.
|
IssueInputParameters |
IssueInputParametersImpl.setOriginalAndRemainingEstimate(String originalEstimate,
String remainingEstimate) |
IssueInputParameters |
IssueInputParameters.setOriginalAndRemainingEstimate(String originalEstimate,
String remainingEstimate)
Sets both the original and remaining estimate on the issue.
|
IssueInputParameters |
IssueInputParametersImpl.setOriginalEstimate(Long originalEstimate) |
IssueInputParameters |
IssueInputParameters.setOriginalEstimate(Long originalEstimate)
Sets the original estimate on the issue.
|
IssueInputParameters |
IssueInputParametersImpl.setOriginalEstimate(String originalEstimate) |
IssueInputParameters |
IssueInputParameters.setOriginalEstimate(String originalEstimate)
Sets the original estimate on the issue.
|
IssueInputParameters |
IssueInputParametersImpl.setPriorityId(String priorityId) |
IssueInputParameters |
IssueInputParameters.setPriorityId(String priorityId) |
IssueInputParameters |
IssueInputParametersImpl.setProjectId(Long projectId) |
IssueInputParameters |
IssueInputParameters.setProjectId(Long projectId) |
IssueInputParameters |
IssueInputParametersImpl.setRemainingEstimate(Long remainingEstimate) |
IssueInputParameters |
IssueInputParameters.setRemainingEstimate(Long remainingEstimate)
Sets the remaining estimate on the issue
|
IssueInputParameters |
IssueInputParametersImpl.setRemainingEstimate(String remainingEstimate) |
IssueInputParameters |
IssueInputParameters.setRemainingEstimate(String remainingEstimate)
Sets the remaining estimate on the issue
|
IssueInputParameters |
IssueInputParametersImpl.setReporterId(String reporterId) |
IssueInputParameters |
IssueInputParameters.setReporterId(String reporterId) |
IssueInputParameters |
IssueInputParametersImpl.setResolutionDate(String resolutionDate) |
IssueInputParameters |
IssueInputParameters.setResolutionDate(String resolutionDate) |
IssueInputParameters |
IssueInputParametersImpl.setResolutionId(String resolutionId) |
IssueInputParameters |
IssueInputParameters.setResolutionId(String resolutionId) |
IssueInputParameters |
IssueInputParametersImpl.setSecurityLevelId(Long securityLevelId) |
IssueInputParameters |
IssueInputParameters.setSecurityLevelId(Long securityLevelId) |
IssueInputParameters |
IssueInputParametersImpl.setStatusId(String statusId) |
IssueInputParameters |
IssueInputParameters.setStatusId(String statusId) |
IssueInputParameters |
IssueInputParametersImpl.setSummary(String summary) |
IssueInputParameters |
IssueInputParameters.setSummary(String summary) |
IssueInputParameters |
IssueInputParametersImpl.setTimeSpent(Long timeSpent) |
IssueInputParameters |
IssueInputParameters.setTimeSpent(Long timeSpent) |
Modifier and Type | Method and Description |
---|---|
protected void |
GroupCustomFieldOperationsHandler.finaliseOperation(Collection<String> finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
MultiGroupCustomFieldOperationsHandler.finaliseOperation(Collection<String> finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
MultiVersionCustomFieldOperationsHandler.finaliseOperation(Collection<String> finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
MultiUserCustomFieldOperationsHandler.finaliseOperation(Collection<String> finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
LabelsCustomFieldOperationsHandler.finaliseOperation(Collection<String> finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
MultiSelectCustomFieldOperationsHandler.finaliseOperation(Collection<String> finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
NumberCustomFieldOperationsHandler.finaliseOperation(Double finalValue,
IssueInputParameters parameters,
ErrorCollection errors)
takes the value returnd by a call to applyOperation() and puts it into the inputparams
|
protected void |
CascadingSelectCustomFieldOperationsHandler.finaliseOperation(Map<String,Option> finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
SelectCustomFieldOperationsHandler.finaliseOperation(String finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
DateCustomFieldOperationsHandler.finaliseOperation(String finalValue,
IssueInputParameters parameters,
ErrorCollection errors)
takes the value returnd by a call to applyOperation() and puts it into the inputparams
|
protected void |
ProjectCustomFieldOperationsHandler.finaliseOperation(String finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
UserCustomFieldOperationsHandler.finaliseOperation(String finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
DateTimeCustomFieldOperationsHandler.finaliseOperation(String finalValue,
IssueInputParameters parameters,
ErrorCollection errors)
takes the value returnd by a call to applyOperation() and puts it into the inputparams
|
protected void |
SingleVersionCustomFieldOperationsHandler.finaliseOperation(String finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
TextCustomFieldOperationsHandler.finaliseOperation(String finalValue,
IssueInputParameters parameters,
ErrorCollection errors)
takes the value returnd by a call to applyOperation() and puts it into the inputparams
|
protected abstract void |
AbstractCustomFieldOperationsHandler.finaliseOperation(T finalValue,
IssueInputParameters parameters,
ErrorCollection errors)
takes the value returnd by a call to applyOperation() and puts it into the inputparams
|
ErrorCollection |
AbstractCustomFieldOperationsHandler.updateIssueInputParameters(IssueContext issueCtx,
Issue issue,
String fieldId,
IssueInputParameters inputParameters,
List<FieldOperationHolder> operations) |
Modifier and Type | Method and Description |
---|---|
protected void |
AffectedVersionsRestFieldOperationsHandler.finaliseOperation(Collection<String> finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
FixForVersionsRestFieldOperationsHandler.finaliseOperation(Collection<String> finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
LabelsRestFieldOperationsHandler.finaliseOperation(Collection<String> finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
ComponentsRestFieldOperationsHandler.finaliseOperation(Collection<String> finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
ResolutionRestFieldOperationsHandler.finaliseOperation(String finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
PriorityRestFieldOperationsHandler.finaliseOperation(String finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
AssigneeRestFieldOperationsHandler.finaliseOperation(String finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
SummaryRestFieldOperationsHandler.finaliseOperation(String finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
DueDateRestFieldOperationsHandler.finaliseOperation(String finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
DescriptionRestFieldOperationsHandler.finaliseOperation(String finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
ReporterRestFieldOperationsHandler.finaliseOperation(String finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
SecurityLevelRestFieldOperationsHandler.finaliseOperation(String finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected void |
EnvironmentRestFieldOperationsHandler.finaliseOperation(String finalValue,
IssueInputParameters parameters,
ErrorCollection errors) |
protected abstract void |
AbstractFieldOperationsHandler.finaliseOperation(T finalValue,
IssueInputParameters parameters,
ErrorCollection errors)
takes the valuye returnd by a call to applyOperation() and puts it into the inputparams
|
ErrorCollection |
IssueLinksRestFieldOperationsHandler.updateIssueInputParameters(IssueContext issueCtx,
Issue issue,
String fieldId,
IssueInputParameters inputParameters,
List<FieldOperationHolder> operations) |
ErrorCollection |
AbstractFieldOperationsHandler.updateIssueInputParameters(IssueContext issueCtx,
Issue issue,
String fieldId,
IssueInputParameters inputParameters,
List<FieldOperationHolder> operations) |
ErrorCollection |
WorklogRestFieldOperationsHandler.updateIssueInputParameters(IssueContext issueCtx,
Issue issue,
String fieldId,
IssueInputParameters inputParameters,
List<FieldOperationHolder> operations) |
ErrorCollection |
CommentRestFieldOperationsHandler.updateIssueInputParameters(IssueContext issueCtx,
Issue issue,
String fieldId,
IssueInputParameters inputParameters,
List<FieldOperationHolder> operations) |
ErrorCollection |
TimeTrackingRestFieldOperationsHandler.updateIssueInputParameters(IssueContext issueCtx,
Issue issue,
String fieldId,
IssueInputParameters inputParameters,
List<FieldOperationHolder> operations) |
ErrorCollection |
RestFieldOperationsHandler.updateIssueInputParameters(IssueContext issueCtx,
Issue issue,
String fieldId,
IssueInputParameters inputParameters,
List<FieldOperationHolder> operations)
This method has to set the field value(s) in the
IssueInputParameters based on the operations. |
Modifier and Type | Method and Description |
---|---|
IssueInputParameters |
IssueInputParametersAssembler.Result.getParameters() |
Modifier and Type | Method and Description |
---|---|
void |
IssueCreationHelperBeanImpl.validateCreateIssueFields(JiraServiceContext jiraServiceContext,
Collection<String> providedFields,
Issue issueObject,
FieldScreenRenderer fieldScreenRenderer,
OperationContext operationContext,
IssueInputParameters issueInputParameters,
I18nHelper i18n) |
void |
IssueCreationHelperBean.validateCreateIssueFields(JiraServiceContext jiraServiceContext,
Collection<String> providedFields,
Issue issueObject,
FieldScreenRenderer fieldScreenRenderer,
OperationContext operationContext,
IssueInputParameters issueInputParameters,
I18nHelper i18n)
Deprecated.
|
Copyright © 2002-2024 Atlassian. All Rights Reserved.