public abstract class WorkflowTransitionResource extends Object
Modifier and Type | Class and Description |
---|---|
static class |
WorkflowTransitionResource.ConstantResponseResource |
static class |
WorkflowTransitionResource.Factory |
static class |
WorkflowTransitionResource.PropertyBean |
static class |
WorkflowTransitionResource.TransitionResource |
static class |
WorkflowTransitionResource.WorkflowMode |
Modifier and Type | Method and Description |
---|---|
abstract javax.ws.rs.core.Response |
createProperty(long transitionId,
String key,
String workflowName,
String workflowMode,
WorkflowTransitionResource.PropertyBean body)
Add a new property to a transition.
|
abstract 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.
|
abstract 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.
|
abstract 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 abstract javax.ws.rs.core.Response getProperties(long transitionId, boolean includeReservedKeys, String key, String workflowName, String workflowMode)
workflowName
- the name of the workflow to use.workflowMode
- the type of workflow to use. Can either be "live" or "draft".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.public abstract javax.ws.rs.core.Response createProperty(long transitionId, String key, String workflowName, String workflowMode, WorkflowTransitionResource.PropertyBean body)
workflowName
- the name of the workflow to use.workflowMode
- the type of workflow to use. Can either be "live" or "draft".transitionId
- the ID of the transition within the workflow.key
- the name of the property to add.public abstract javax.ws.rs.core.Response updateProperty(long transitionId, String key, String workflowName, String workflowMode, WorkflowTransitionResource.PropertyBean body)
workflowName
- the name of the workflow to use.workflowMode
- the type of workflow to use. Can either be "live" or "draft".transitionId
- the ID of the transition within the workflow.key
- the name of the property to add.public abstract javax.ws.rs.core.Response deleteProperty(long transitionId, String key, String workflowName, String workflowMode)
workflowName
- the name of the workflow to use.workflowMode
- the type of workflow to use. Can either be "live" or "draft".transitionId
- the ID of the transition within the workflow.key
- the name of the property to add.Copyright © 2002-2018 Atlassian. All Rights Reserved.