com.atlassian.jira.config.IssueTypeManager |
![]() |
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).
Manager for IssueType
s.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
Use
createIssueType(String, String, Long) instead. Since v6.3.
| |||||||||||
Create a new (non-subtask) issue type.
| |||||||||||
Create a new subtask issue type.
| |||||||||||
Create a new subtask issue type.
| |||||||||||
This method is deprecated.
Use
updateIssueType(com.atlassian.jira.issue.issuetype.IssueType, String, String, Long) instead. Since v6.3.
| |||||||||||
Returns a collection of suitable alternative
IssueType s to which issues with the supplied issue type can be moved to. | |||||||||||
Returns the
IssueType for the specified id. | |||||||||||
Returns all issue types regular and subtask issue types.
| |||||||||||
Checks if there are any issues associated with this issue type.
| |||||||||||
Removes an issue type.
| |||||||||||
Edits an existing issue type.
|
This method is deprecated.
Use createIssueType(String, String, Long)
instead. Since v6.3.
Create a new (non-subtask) issue type. The new issue type will be added to the default issue type scheme.
name | name of the issue type. Cannot be null or blank. Must be unique across issue types and subtask issue types. |
---|---|
description | description for the issue type. |
iconUrl | icon URL for the issue type. Cannot be null or blank. |
IssueType
Create a new (non-subtask) issue type. The new issue type will be added to the default issue type scheme.
After successful creation of the new issue type, this method publishes an instance of IssueTypeCreatedEvent
.
name | name of the issue type. Cannot be null or blank. Must be unique across issue types and subtask issue types. |
---|---|
description | description for the issue type. |
avatarId | avatarId for the issue type. Cannot by null. |
IssueType
Create a new subtask issue type. The new issue type will be added to the default issue type scheme.
name | name of the issue type. Cannot be null or blank. Must be unique across issue types and subtask issue types. |
---|---|
description | description for the issue type. |
iconUrl | icon URL for the issue type. Cannot be null or blank. |
IssueType
Create a new subtask issue type. The new issue type will be added to the default issue type scheme.
name | name of the issue type. Cannot be null or blank. Must be unique across issue types and subtask issue types. |
---|---|
description | description for the issue type. |
avatarId | avatarId for the issue type. Cannot by null. |
IssueType
This method is deprecated.
Use updateIssueType(com.atlassian.jira.issue.issuetype.IssueType, String, String, Long)
instead. Since v6.3.
Edits an existing issue type.
issueType | existing issue type |
---|---|
name | new name. Cannot be null or blank. Must be unique across issue types and subtask issue types. |
description | new description. |
iconUrl | icon URL for the issue type. Cannot be null or blank. |
Returns all issue types regular and subtask issue types.
IssueType
s
Checks if there are any issues associated with this issue type.
issueType | for which issues are searched. |
---|
Removes an issue type.
All issues which use this issue type will be migrated to a different issue type which is specified in the second argument.
After successful removal of an issue type, this method publishes an instance of IssueTypeDeletedEvent
.
id | id of the issue type to remove |
---|---|
newIssueTypeId | the id of the new issue type for all issues which are of the issue type which we are about to remove. Can be null. |
Edits an existing issue type.
After successful update of an issue type, this method publishes an instance of IssueTypeUpdatedEvent
.
issueType | existing issue type |
---|---|
name | new name. Cannot be null or blank. Must be unique across issue types and subtask issue types. |
description | new description. |
avatarId | avatar id the issue type. Cannot be null or blank. |