Package com.codebarrel.jira.request
Class IssueRequest
java.lang.Object
com.codebarrel.jira.request.EntityPropertiesRequest
com.codebarrel.jira.request.IssueRequest
- Direct Known Subclasses:
TransitionRequest
Encapsulates all the quirks of the Jira REST APIs for creating and updating an issue.
See https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/updating-an-issue-via-the-jira-rest-apis for more info
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class com.codebarrel.jira.request.EntityPropertiesRequest
properties -
Constructor Summary
ConstructorsConstructorDescriptionIssueRequest(Map<String, Object> update, Map<String, Object> fields, List<EntityPropertyBean> properties, Map<String, Object> historyMetadata, List<Function<IssueIdentityBean, ErrorCollection>> postActionExecutor) -
Method Summary
Modifier and TypeMethodDescriptionbooleanSimple update (implicit set via "fields")Allows for customisation of the change log.List of update hooks that runs after a normal set for custom actionsVerb based operations Operation (verb) based update (explicit verb via "update")inthashCode()booleanisEmpty()toString()Methods inherited from class com.codebarrel.jira.request.EntityPropertiesRequest
getProperties, trackTraceId
-
Field Details
-
ID
- See Also:
-
NAME
- See Also:
-
-
Constructor Details
-
IssueRequest
public IssueRequest(Map<String, Object> update, Map<String, Object> fields, List<EntityPropertyBean> properties, Map<String, Object> historyMetadata, List<Function<IssueIdentityBean, ErrorCollection>> postActionExecutor)
-
-
Method Details
-
getUpdate
Verb based operations Operation (verb) based update (explicit verb via "update") -
getFields
Simple update (implicit set via "fields") -
getHistoryMetadata
Allows for customisation of the change log. See https://docs.atlassian.com/jira/REST/cloud/#api/2/issue-doTransition TODO consider deleting -
getPostActionExecutor
List of update hooks that runs after a normal set for custom actions -
isEmpty
public boolean isEmpty() -
equals
-
hashCode
public int hashCode() -
toString
-