public static class WorkflowTransitionResource.ConstantResponseResource extends WorkflowTransitionResource
WorkflowTransitionResource.ConstantResponseResource, WorkflowTransitionResource.Factory, WorkflowTransitionResource.PropertyBean, WorkflowTransitionResource.TransitionResource, WorkflowTransitionResource.WorkflowMode
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createProperty(long transitionId,
String key,
String workflowName,
String workflowMode,
WorkflowTransitionResource.PropertyBean body)
Add a new property to a transition.
|
javax.ws.rs.core.Response |
deleteProperty(long transitionId,
String key,
String workflowName,
String workflowMode)
Delete a property from the passed transition on the passed workflow.
|
javax.ws.rs.core.Response |
getProperties(long transitionId,
boolean includeReservedKeys,
String key,
String workflowName,
String workflowMode)
Return the property or properties associated with a transition.
|
javax.ws.rs.core.Response |
updateProperty(long transitionId,
String key,
String workflowName,
String workflowMode,
WorkflowTransitionResource.PropertyBean body)
Update/add new property to a transition.
|
public javax.ws.rs.core.Response getProperties(long transitionId, boolean includeReservedKeys, String key, String workflowName, String workflowMode)
WorkflowTransitionResource
getProperties
in class WorkflowTransitionResource
transitionId
- the ID of the transition within the workflow.includeReservedKeys
- some keys under the "jira." prefix are editable, some are not. Set this to true
in order to include the non-editable keys in the response.key
- the name of the property key to query. Can be left off the query to return all properties.workflowName
- the name of the workflow to use.workflowMode
- the type of workflow to use. Can either be "live" or "draft".public javax.ws.rs.core.Response createProperty(long transitionId, String key, String workflowName, String workflowMode, WorkflowTransitionResource.PropertyBean body)
WorkflowTransitionResource
createProperty
in class WorkflowTransitionResource
transitionId
- the ID of the transition within the workflow.key
- the name of the property to add.workflowName
- the name of the workflow to use.workflowMode
- the type of workflow to use. Can either be "live" or "draft".public javax.ws.rs.core.Response updateProperty(long transitionId, String key, String workflowName, String workflowMode, WorkflowTransitionResource.PropertyBean body)
WorkflowTransitionResource
updateProperty
in class WorkflowTransitionResource
transitionId
- the ID of the transition within the workflow.key
- the name of the property to add.workflowName
- the name of the workflow to use.workflowMode
- the type of workflow to use. Can either be "live" or "draft".public javax.ws.rs.core.Response deleteProperty(long transitionId, String key, String workflowName, String workflowMode)
WorkflowTransitionResource
deleteProperty
in class WorkflowTransitionResource
transitionId
- the ID of the transition within the workflow.key
- the name of the property to add.workflowName
- the name of the workflow to use.workflowMode
- the type of workflow to use. Can either be "live" or "draft".Copyright © 2002-2023 Atlassian. All Rights Reserved.