Using Rest API (for Forge app) to add an approval step to a workflow

Hello:

Is there a Rest API (for Forge app) to add an approval step to a workflow?

I’ve seen this but not clear if approver can be set as a key/property.
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-transition-properties/#api-rest-api-3-workflow-transitions-transitionid-properties-put

Hi @GirishReddy,

Is this “Include approval step” checkbox what you are after?

If that’s the case, there isn’t a REST API endpoint that can be used for that.

Those are set as Workflow Step Properties

The Update workflow transition property can only be used to set Transition Properties instead.

Here is the open suggestion to provide such REST API endpoint: https://jira.atlassian.com/browse/JRACLOUD-62042

Cheers,
Caterina

1 Like

That’s exactly the behavior I was looking for via an API. I will watch the suggestion. Thank you!