com.atlassian.jira.issue.Issue |
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).
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.
getIssueObject(String)
, or converted
using IssueFactory
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the Assignee User.
| |||||||||||
Returns the Assignee User.
| |||||||||||
This method is deprecated.
Use
getComponentObjects() instead. Since v5.2.
| |||||||||||
This is the "remaining estimate" of work left to be performed on this issue, in milliseconds.
| |||||||||||
This method is deprecated.
Please use
getIssueTypeObject() . Deprecated since v4.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.
| |||||||||||
This method is deprecated.
Use
getParentObject() instead.
| |||||||||||
If this issue is a subtask, return its parent.
| |||||||||||
This method is deprecated.
Use
getPriorityObject() instead. Since v5.2.
| |||||||||||
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 Project for this Issue.
| |||||||||||
Returns the Reporter User.
| |||||||||||
Returns the Reporter User.
| |||||||||||
This method is deprecated.
Use
getResolutionObject() instead. Since v5.2.
| |||||||||||
Returns the datetime that an issue was resolved on.
| |||||||||||
Returns the Resolution for this Issue.
| |||||||||||
This method is deprecated.
Use
getSecurityLevelId() instead. Since v5.2.
| |||||||||||
Returns the Security Level for this Issue.
| |||||||||||
This method is deprecated.
since 4.2. Use
getStatusObject() 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.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.jira.issue.context.IssueContext
| |||||||||||
From interface
com.atlassian.jira.ofbiz.OfBizValueWrapper
|
Version
objects.
Returns the Assignee User.
Warning: previous incarnations of this method returnedcom.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 forgetAssignee()
This method is deprecated.
Use getComponentObjects()
instead. Since v5.2.
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.
Please use getIssueTypeObject()
. Deprecated since v4.0
Gets the IssueType for this Issue.
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.
This method is deprecated.
Use getPriorityObject()
instead. Since v5.2.
Returns the Priority for this Issue.
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 Project for this IssueContext.
A null return value is used to represent that this context applies to all Projects.
Gets the Project for this Issue.
Returns the Reporter User.
Warning: previous incarnations of this method returnedcom.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 forgetReporter()
.
This method is deprecated.
Use getResolutionObject()
instead. Since v5.2.
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.
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.