com.atlassian.jira.config.ResolutionManager |
Known Indirect Subclasses |
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 Resolution
s.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a new resolution.
| |||||||||||
Edits an existing resolution.
| |||||||||||
Returns the default resolution.
| |||||||||||
Returns a resolution with the specified id.
| |||||||||||
Returns the resolution with the specified name.
| |||||||||||
Return all resolutions.
| |||||||||||
Move the resolution down in the order.
| |||||||||||
Move the resolution up in the order.
| |||||||||||
Removes a resolution with the specified id.
| |||||||||||
Sets the default resolution.
|
Adds a new resolution. The new resolution must have a unique name.
name | resolution name. Cannot be null or blank. |
---|---|
description | the resolution description. Can be null or blank. |
Resolution
.
Edits an existing resolution.
resolution | resolution to edit. |
---|---|
name | the new name. |
description | the new description |
Returns the default resolution.
Will return null if no default is set.Returns a resolution with the specified id.
id | resolution id. |
---|
Resolution
with the specified id or null if no resolution whith this id exists.
Returns the resolution with the specified name. It is case insensitive.
name | the name of the resolution. |
---|
Resolution
with the specified name.
Return all resolutions. The list is ordered by the sequence.
The order can be modified by calling moveResolutionDown(String)
or moveResolutionUp(String)
.
Resolution
s
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 resolution with the specified id. When removing a resolution all issues which have this resolution will have to be migrated to use a different resultion specified by the second argument.
resolutionId | resolution to remove. |
---|---|
newResolutionId | new resolution for issues which have the resolution which has been removed. Cannot be null. |
Sets the default resolution.
You can pass null to clear the default.id | resolution id or null. |
---|