com.atlassian.jira.config.IssueTypeService |
![]() |
Clients of @PublicApi
can expect
that programs compiled against a given version will remain binary compatible with later versions of the
@PublicApi
as per each product's API policy as long as the client does not implement/extend
@PublicApi
interfaces or classes (refer to each product's API policy for the exact
guarantee---usually binary compatibility is guaranteed at least across minor versions).
@PublicApi
interfaces and classes are not designed to be implemented or extended by clients,
we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not
affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces
annotated with @PublicSpi
are safe to extend/implement).
Service for managing issue types.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
IssueTypeService.CreateValidationResult | |||||||||||
IssueTypeService.DeleteValidationResult | |||||||||||
IssueTypeService.IssueTypeCreateInput | |||||||||||
IssueTypeService.IssueTypeDeleteInput | |||||||||||
IssueTypeService.IssueTypeResult | |||||||||||
IssueTypeService.IssueTypeUpdateInput | |||||||||||
IssueTypeService.UpdateValidationResult |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method will store a new issue type in JIRA DB.
| |||||||||||
Removes the issue from JIRA database and triggers
IssueTypeDeletedEvent . | |||||||||||
Returns a collection of suitable alternative
IssueType s to which issues with the supplied issue type can be moved to. | |||||||||||
Returns an issue type for the given issue type id, if it is visible for the user.
| |||||||||||
This method will store the update issue type value in JIRA database and trigger a new
IssueTypeUpdatedEvent . | |||||||||||
This method validates the parameters for creation of an issue type and execute permission checks.
| |||||||||||
This method validates if it is possible to remove issue type with given id and executes permission checks.
| |||||||||||
This method validates the parameters for update of an issue type and execute permission checks.
|
This method will store a new issue type in JIRA DB.
This method will trigger a new IssueTypeCreatedEvent
.
user | against whom the permission checks will be run. |
---|---|
validationResult | validation result returned by validateCreateIssueType(ApplicationUser, com.atlassian.jira.config.IssueTypeService.IssueTypeCreateInput) . |
Removes the issue from JIRA database and triggers IssueTypeDeletedEvent
.
All issues which are associated to the removed issue type are going to be migrated to an alternative issue type.
user | against whom the permission checks will be run. |
---|---|
validationResult | validation result returned by validateDeleteIssueType(ApplicationUser, IssueTypeDeleteInput) .
|
Returns a collection of suitable alternative IssueType
s to which issues with the supplied issue type can be moved to.
The suitable alternative IssueType
s will have to use the same workflow, the same field configuration and the same screen scheme.
applicationUser | user which requests access to issue types. |
---|---|
id | of an issue type to find alternative for. |
Returns an issue type for the given issue type id, if it is visible for the user.
applicationUser | user which requests access to the issue type. |
---|---|
id | of an issue type to return. |
applicationUser | user which requests access to issue types. |
---|
This method will store the update issue type value in JIRA database and trigger a new IssueTypeUpdatedEvent
.
user | against whom the permission checks will be run. |
---|---|
validationResult | validation result returned by validateUpdateIssueType(ApplicationUser, String, com.atlassian.jira.config.IssueTypeService.IssueTypeUpdateInput) . |
This method validates the parameters for creation of an issue type and execute permission checks. If the checks
pass the method constructs a new instance of IssueTypeService.CreateValidationResult
which can be passed
to createIssueType(ApplicationUser, CreateValidationResult)
.
user | against whom the permission checks will be run. |
---|---|
issueTypeCreateInput | this represents the issue type values. |
IssueTypeService.CreateValidationResult
.
This method validates if it is possible to remove issue type with given id and executes permission checks.
user | against whom the permission checks will be run. |
---|---|
issueTypeDeleteInput | issue type delete input. |
IssueTypeService.DeleteValidationResult
.
This method validates the parameters for update of an issue type and execute permission checks. If checks
pass the method constructs a new instance of IssueTypeService.UpdateValidationResult
which can be passed to
updateIssueType(ApplicationUser, UpdateValidationResult)
.
user | against whom the permission checks will be run. |
---|---|
issueTypeId | issue type to update. |
issueTypeUpdateInput | represents the issue type values. |
IssueTypeService.UpdateValidationResult
.