com.atlassian.jira.issue.Issue |
![]() |
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).
Main issue interface. Historically, JIRA has just passed around GenericValues describing issue records. Issue
is essentially a GenericValue wrapper, with setters, getters and a store()
operation for persisting changes
through the underlying GenericValue.
Amongst other means, Issue objects may be obtained with getIssueObject(String)
, or converted
using IssueFactory
.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
For interactivity, implementations must be based on the issue key.
| |||||||||||
Returns the Assignee User.
| |||||||||||
Returns the Assignee User.
| |||||||||||
This method is deprecated.
Use
getComponents() . Since v7.0
| |||||||||||
This is the "remaining estimate" of work left to be performed on this issue, in milliseconds.
| |||||||||||
This method is deprecated.
Use the Data object getters instead. Since v5.0.
| |||||||||||
Gets the IssueType for this Issue.
| |||||||||||
Gets the ID of the IssueType for this Issue.
| |||||||||||
This method is deprecated.
Please use
getIssueType() . Deprecated since v7.0
| |||||||||||
Returns a set of all the labels for this issue or an empty set if none exist yet.
| |||||||||||
This is the "original estimate" of work to be performed on this issue, in milliseconds.
| |||||||||||
This method is deprecated.
Use
getParentObject() instead.
| |||||||||||
If this issue is a subtask, return its parent.
| |||||||||||
Returns the Priority for this Issue.
| |||||||||||
This method is deprecated.
Use
getPriorityObject() instead. Since v7.0
| |||||||||||
This method is deprecated.
please use getProjectObject (this still implicitly relies on the GV), but it is a start!
| |||||||||||
Gets the ID of the Project for this Issue.
| |||||||||||
Gets the Project for this Issue.
| |||||||||||
Returns the Reporter User.
| |||||||||||
Returns the Reporter User.
| |||||||||||
Returns the Resolution for this Issue.
| |||||||||||
Returns the datetime that an issue was resolved on.
| |||||||||||
This method is deprecated.
Use
getResolution() instead. Since v7.0
| |||||||||||
This method is deprecated.
Use
getSecurityLevelId() instead. Since v5.2.
| |||||||||||
Returns the Security Level for this Issue.
| |||||||||||
This method is deprecated.
since 7.0. Use
getStatus() instead.
| |||||||||||
Gets all the issue's subtasks.
| |||||||||||
This method is deprecated.
Use
getSubTaskObjects()
| |||||||||||
This is the "total time spent" working on this issue, in milliseconds.
| |||||||||||
For interactivity, implementations must be based on the hashcode of the issue key.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
For interactivity, implementations must be based on the issue key. See the implementation in AbstractIssue for an example.
o | the other object |
---|
Version
objects.
Returns the Assignee User.
Warning: previous incarnations of this method returned com.opensymphony.user.User
. This class
has now been removed from the JIRA API, meaning that the 5.0 version is not binary or source compatible with
earlier versions.
Returns the Assignee User.
If there is no assignee it returns null, else it is guaranteed to return a non-null User. If the User is no longer available, it will create a dummy User object based on the username.
Legacy synonym for getAssignee()
This method is deprecated.
Use getComponents()
. Since v7.0
customField | the CustomField |
---|
This is the "remaining estimate" of work left to be performed on this issue, in milliseconds.
A better name would be getRemainingEstimate but for historical reasons it is called what it is called.
This method is deprecated.
Use the Data object getters instead. Since v5.0.
Get the backing GenericValue object.
Gets the IssueType for this Issue.
Gets the ID of the IssueType for this Issue.
This method is deprecated.
Please use getIssueType()
. Deprecated since v7.0
Gets the IssueType for this Issue.
Returns a set of all the labels for this issue or an empty set if none exist yet.
This is the "original estimate" of work to be performed on this issue, in milliseconds.
If this issue is a subtask, return its parent.
Returns the Priority for this Issue.
This method is deprecated.
Use getPriorityObject()
instead. Since v7.0
Returns the Priority for this Issue.
This method is deprecated.
please use getProjectObject (this still implicitly relies on the GV), but it is a start!
Gets the ID of the Project for this Issue.
Gets the Project for this Issue.
Returns the Reporter User.
Warning: previous incarnations of this method returned com.opensymphony.user.User
. This class
has now been removed from the JIRA API, meaning that the 5.0 version is not binary or source compatible with
earlier versions.
Returns the Reporter User.
This will return a non-null User object even if the User has been deleted.
Legacy synonym for getReporter()
.
Returns the Resolution for this Issue.
Returns the datetime that an issue was resolved on. Will be null if it hasn't been resolved yet, or if an issue has been returned to the 'unresolved' state.
This method is deprecated.
Use getResolution()
instead. Since v7.0
Returns the Resolution for this Issue.
This method is deprecated.
Use getSecurityLevelId()
instead. Since v5.2.
Returns the Security Level for this Issue.
Returns the Security Level for this Issue.
Gets all the issue's subtasks.
MutableIssue
s
This is the "total time spent" working on this issue, in milliseconds.
For interactivity, implementations must be based on the hashcode of the issue key. See the implementation in AbstractIssue for an example.