Create Workflow via API with Approval stage

Hi I would like to generate a workflow via the API that makes use of the JSM Approval feature. I have figured out that the configuration for the approval process is stored in the properties of the workflow step


I have also figured out that I can set properties for statuses during the workflow creation, however, I also realized that I need to know the workflow transition ID of the transitions that should happen on approval and rejection. Also, I don’t know if configuring just the properties would be enough to get the feature to work. As far as I can see there does not seem to be a way to edit the workflow steps properties after the workflow has been created using the public API? Has anybody been able to create a workflow with the API and an approval stage?

Hi @MichaelIlewicz,

I know it’s been some time since you posted this but I was looking at a similar request that came in recently (this one) and thought I should add a comment here as well.

There isn’t currently a way to achieve what you are looking for, but I found this suggestion for adding a REST API which would provide the ability to add properties for statuses.

Here is the link:

Caterina

1 Like