public class WorkflowTransitionPropertiesApi extends Object
| Constructor and Description |
|---|
WorkflowTransitionPropertiesApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<WorkflowTransitionProperty> |
createWorkflowTransitionProperty(Long transitionId,
String key,
String workflowName,
WorkflowTransitionProperty requestBody,
Optional<String> workflowMode,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Create workflow transition property
Adds a property to a workflow transition.
|
io.reactivex.Completable |
deleteWorkflowTransitionProperty(Long transitionId,
String key,
String workflowName,
Optional<String> workflowMode,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete workflow transition property
Deletes a property from a workflow transition.
|
io.reactivex.Single<WorkflowTransitionProperty> |
getWorkflowTransitionProperties(Long transitionId,
String workflowName,
Optional<Boolean> includeReservedKeys,
Optional<String> key,
Optional<String> workflowMode,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get workflow transition properties
Returns the properties on a workflow transition.
|
io.reactivex.Single<WorkflowTransitionProperty> |
updateWorkflowTransitionProperty(Long transitionId,
String key,
String workflowName,
WorkflowTransitionProperty requestBody,
Optional<String> workflowMode,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Update workflow transition property
Updates a workflow transition by changing the property value.
|
public WorkflowTransitionPropertiesApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<WorkflowTransitionProperty> createWorkflowTransitionProperty(Long transitionId, String key, String workflowName, WorkflowTransitionProperty requestBody, Optional<String> workflowMode, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
transitionId - The ID of the transition. To get the ID, view the workflow in text mode in the Jira admin settings. The ID is shown next to the transition. (required)key - The key of the property being added, also known as the name of the property. Set this to the same value as the `key` defined in the request body. (required)workflowName - The name of the workflow that the transition belongs to. (required)requestBody - (required)workflowMode - The workflow status. Set to *live* for inactive workflows or *draft* for draft workflows. Active workflows cannot be edited. (optional, default to live)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Completable deleteWorkflowTransitionProperty(Long transitionId, String key, String workflowName, Optional<String> workflowMode, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
transitionId - The ID of the transition. To get the ID, view the workflow in text mode in the Jira admin settings. The ID is shown next to the transition. (required)key - The name of the transition property to delete, also known as the name of the property. (required)workflowName - The name of the workflow that the transition belongs to. (required)workflowMode - The workflow status. Set to `live` for inactive workflows or `draft` for draft workflows. Active workflows cannot be edited. (optional)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<WorkflowTransitionProperty> getWorkflowTransitionProperties(Long transitionId, String workflowName, Optional<Boolean> includeReservedKeys, Optional<String> key, Optional<String> workflowMode, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
transitionId - The ID of the transition. To get the ID, view the workflow in text mode in the Jira administration console. The ID is shown next to the transition. (required)workflowName - The name of the workflow that the transition belongs to. (required)includeReservedKeys - Some properties with keys that have the *jira.* prefix are reserved, which means they are not editable. To include these properties in the results, set this parameter to *true*. (optional, default to false)key - The key of the property being returned, also known as the name of the property. If this parameter is not specified, all properties on the transition are returned. (optional)workflowMode - The workflow status. Set to *live* for active and inactive workflows, or *draft* for draft workflows. (optional, default to live)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<WorkflowTransitionProperty> updateWorkflowTransitionProperty(Long transitionId, String key, String workflowName, WorkflowTransitionProperty requestBody, Optional<String> workflowMode, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
transitionId - The ID of the transition. To get the ID, view the workflow in text mode in the Jira admin settings. The ID is shown next to the transition. (required)key - The key of the property being updated, also known as the name of the property. Set this to the same value as the `key` defined in the request body. (required)workflowName - The name of the workflow that the transition belongs to. (required)requestBody - (required)workflowMode - The workflow status. Set to `live` for inactive workflows or `draft` for draft workflows. Active workflows cannot be edited. (optional)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
Copyright © 2011–2021 Everit Kft.. All rights reserved.