com.atlassian.jira.issue.IssueFactory |
![]() |
The IssueFactory is used for creating Issues in JIRA, as well as converting GenericValue issue objects
to proper Issue
objects. It only handles creational tasks. For update and retrieval see the
IssueManager
interface.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TO_GENERIC_VALUE | Used for transforming collections of Issue objects to issue GenericValue objects. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
since 7.1 Please use
cloneIssueWithAllFields(Issue) as this one does not clone custom field values.
| |||||||||||
Clone Issue for conversion from sub task to issue
| |||||||||||
Clones the Issue object which creates an editable copy.
| |||||||||||
Creates a new blank issue.
| |||||||||||
Creates an issue object for an issue represented by the Lucene Document
| |||||||||||
Creates an issue object for an issue represented by the passed issueGV
| |||||||||||
Creates an issue object for an issue represented by the passed issueGV.
| |||||||||||
Convert a list of GenericValue objects into a list of
MutableIssue objects. |
Used for transforming collections of Issue
objects to issue GenericValue objects.
This method is deprecated.
since 7.1 Please use cloneIssueWithAllFields(Issue)
as this one does not clone custom field values.
Clones the Issue object which creates an editable copy. Does not clone custom field values.
issue | issue to be cloned |
---|
MutableIssue
clone.Clone Issue for conversion from sub task to issue
Clones the Issue object which creates an editable copy.
issue | issue to be cloned |
---|
MutableIssue
clone.
Creates an issue object for an issue represented by the Lucene Document
Creates an issue object for an issue represented by the passed issueGV
MutableIssue
object that represents a copy of the issueGV
Creates an issue object for an issue represented by the passed issueGV.
This will return null if it is passed null, which is different behaviour to getIssue(org.ofbiz.core.entity.GenericValue)
MutableIssue
object that represents a copy of the issueGV, or null.
Convert a list of GenericValue objects into a list of MutableIssue
objects.
This is just a convenience method that calls getIssue(org.ofbiz.core.entity.GenericValue)
issueGVs | The issues to be retrieved |
---|
MutableIssue
objects