Class JiraIssue
java.lang.Object
com.northconcepts.datapipeline.foundations.core.Bean
com.northconcepts.datapipeline.jira.JiraIssue
- All Implemented Interfaces:
DataExceptionContributor,JsonSerializable,RecordSerializable,XmlSerializable,Serializable
The request body for creating, updating or transitioning a Jira issue: its key, its
fields record and an optional transition.- See Also:
-
Field Summary
Fields inherited from interface com.northconcepts.datapipeline.core.RecordSerializable
SERIALIZED_CLASS_NAME, TYPEFields inherited from interface com.northconcepts.datapipeline.core.XmlSerializable
XML_SERIALIZED_CLASS_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCustomField(String fieldName, Object fieldValue) Sets a field, such as a custom field, in the issue's fields record, replacing any existing value.Deprecated.getKey()Returns the transition to perform as a record holding itsid, or null if none was set.setDescription(String description) Sets a value in the issue's fields record and returns that record, not this issue.setIssueType(int issueType) Sets the issue type, identified by its numeric ID.Sets the parent issue, identified by its key.setProject(String project) Sets the issue's project, identified by its key.setSummary(String summary) setTransition(int transitionId) Sets the transition to perform, identified by its ID.Methods inherited from class com.northconcepts.datapipeline.foundations.core.Bean
addExceptionProperties, fromRecord, toRecord, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.northconcepts.datapipeline.core.DataExceptionContributor
addExceptionProperties, exception, exception, exceptionMethods inherited from interface com.northconcepts.datapipeline.core.RecordSerializable
fromJson, fromJson, toJson, toJson, toJsonMethods inherited from interface com.northconcepts.datapipeline.core.XmlSerializable
fromXml, fromXml, fromXmlElement, toXml, toXml, toXml, toXml, toXml, toXmlElement
-
Constructor Details
-
JiraIssue
public JiraIssue()
-
-
Method Details
-
getKey
-
setKey
-
setProject
Sets the issue's project, identified by its key. -
setParent
Sets the parent issue, identified by its key. -
setIssueType
Sets the issue type, identified by its numeric ID. -
setSummary
-
setDescription
-
addCustomField
Sets a field, such as a custom field, in the issue's fields record, replacing any existing value. -
getFields
-
setFields
-
getTransition
Returns the transition to perform as a record holding itsid, or null if none was set. -
setTransition
Sets the transition to perform, identified by its ID. -
setField
Sets a value in the issue's fields record and returns that record, not this issue. -
addField
Deprecated.UsesetField(String, Object)instead.
-
setField(String, Object)instead.