Create workflow with custom statuses by API

I’m developing Jira cloud plugin. And I want to create custom statuses and workflow specifically for my plugin. Is it possible to do it by REST API or what the other options?
Thanks in advance :slight_smile:

Hey Aleksey, welcome to our developer community.

You can use our REST APIs to create a workflow scheme, and perform a bunch of other workflow scheme operations. Unfortunately, we only support returning an existing status via API right now, not creating a new one, but I’ll let the team know about this for consideration. You can of course always create new statuses via the web UI as a workaround.

I hope this helps! And if you don’t mind me asking, I’d love if you could share some context with me on your use case for creating custom statuses via API. It’ll help us understand why this would be helpful for you and aid us in prioritization of this functionality.

1 Like

Many thanks for your contribution on this topic. Could you kindly specify what exactly “the web UI” refers to? Not sure I completely understand what you mean.

Best regards

Any new updates here? I am also interested in creating workflow statuses via api.
The Web UI technically also needs an API. That’s really surprising to me that this is still missing.

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflow-statuses/
provides only “Get all statuses” and “Get status” endpoints

It’s bizarre that the REST API permits complex workflow creation, but provides nothing for status creation. Statuses are an integral part of workflows, so the total lack of ability to manipulate statuses substantially decreases the usability of the API. Why is there no support for status manipulation?

1 Like

agreed, this is such a simple thing to implement but very necessary for proper app development! Here is the feature suggestion where you can vote for and track this issue [JRACLOUD-76427] Add a REST API endpoint to add new workflow status - Create and track feature requests for Atlassian products.

1 Like

This is a key requirement to create custom statuses via API. You are providing complex workflow creation via API but not status! This is strange, really.