com.atlassian.jira.config.StatusManager |
![]() |
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 Status
es.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new status.
| |||||||||||
Creates a new status.
| |||||||||||
Edit an existing status.
| |||||||||||
Edit an existing status.
| |||||||||||
Get a status by id.
| |||||||||||
Move the status down in the order.
| |||||||||||
Move the status up in the order.
| |||||||||||
Removes a status.
|
Creates a new status.
name | name of the status. Cannot be blank or null and has to be unique. |
---|---|
description | description of the status. |
iconUrl | icon url for this status. Cannot be blank or null. |
Status
.
Creates a new status.
name | name of the status. Cannot be blank or null and has to be unique. |
---|---|
description | description of the status. |
iconUrl | icon url for this status. Cannot be blank or null. |
statusCategory | status category of the status. Cannot be null |
Status
.Edit an existing status.
status | status to edit. |
---|---|
name | new name. Has to be unique. |
description | new description |
iconUrl | new icon url |
Edit an existing status.
status | status to edit. |
---|---|
name | new name. Has to be unique. |
description | new description |
iconUrl | new icon url |
statusCategory | status category of the status. Cannot be null |
Get a status by id.
id | status id |
---|
Status
, or null if no status with this id exists.
Move the status down in the order.
id | id of the status. |
---|
IllegalArgumentException | if a status with the given id does not exist. |
---|
Move the status up in the order.
id | id of the status. |
---|
IllegalArgumentException | if a status with the given id does not exist. |
---|
Removes a status.
id | status id |
---|
IllegalStateException | if this status is associated with any workflow. |
---|---|
IllegalArgumentException | if a status with the given id does not exist. |