|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface IssueTypeManager
Manager for IssueType
s.
Method Summary | |
---|---|
IssueType |
createIssueType(String name,
String description,
String iconUrl)
Create a new (non-subtask) issue type. |
IssueType |
createSubTaskIssueType(String name,
String description,
String iconUrl)
Create a new subtask issue type. |
void |
editIssueType(IssueType issueType,
String name,
String description,
String iconUrl)
Edits an existing issue type. |
Collection<IssueType> |
getAvailableIssueTypes(IssueType issueType)
Returns a collection of suitable alternative IssueType s to which issues with the supplied issue type can be moved to. |
IssueType |
getIssueType(String id)
Returns the IssueType for the specified id. |
Collection<IssueType> |
getIssueTypes()
Returns all issue types regular and subtask issue types. |
void |
removeIssueType(String id,
String newIssueTypeId)
Removes an issue type. |
Method Detail |
---|
IssueType createIssueType(String name, String description, String iconUrl)
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
IssueType createSubTaskIssueType(String name, String description, String iconUrl)
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
void editIssueType(IssueType issueType, String name, String description, String iconUrl)
issueType
- existing issue typename
- 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.Collection<IssueType> getIssueTypes()
IssueType
svoid removeIssueType(String id, String newIssueTypeId)
id
- id of the issue type to removenewIssueTypeId
- 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.IssueType getIssueType(String id)
IssueType
for the specified id.
id
- issue type id.
IssueType
Collection<IssueType> getAvailableIssueTypes(IssueType issueType)
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.
issueType
-
IssueType
s
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |