com.atlassian.jira.config.PriorityManager |
![]() |
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 Priority
ies
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new priority.
| |||||||||||
Edit an existing priority.
| |||||||||||
Returns the default priority.
| |||||||||||
Returns all priorities.
| |||||||||||
Returns a priority.
| |||||||||||
Move the resolution down in the order.
| |||||||||||
Move the resolution up in the order.
| |||||||||||
Removes a priority.
| |||||||||||
Sets the default priority.
|
Create a new priority.
name | name of the priority. Cannot be blank or null. Must be unique. |
---|---|
description | description of the priority |
iconUrl | icon url of the priority |
color | color for the priority. |
Priority
Edit an existing priority.
priority | existing priority. |
---|---|
name | name of the priority |
description | description of the priority |
iconUrl | icon Url of the priority |
color | color of the priority |
Returns the default priority.
Priority
or if none configured null.
Returns all priorities. Sorted by sequence.
The order can be modified by calling movePriorityDown(String)
or movePriorityUp(String)
Priority
Returns a priority.
id | priority id |
---|
Priority
or null if no priority with the specified id could be found.
Move the resolution down in the order.
id | id of the resolution. |
---|
Move the resolution up in the order.
id | id of the resolution. |
---|
Removes a priority. When removing the priority it will change the priority of all issues which have the priority that has been deleted to the priority with id specified as the second argument.
id | priority id to remove. |
---|---|
newPriorityId | priority to use for all issues which have the priority which has been removed. Cannot be null. |