when creating a workflow the open step is added automatically. how does jira know how to add this step?

I noticed that even if I rename the status open to something else this step is automatically added.

is there a flag for this status to be used in workflows? What happens if I delete this status?

Thank you

2 answers

1 accepted

thanks for the info, but one question still remains. how does jira know to choose the open status if everything in dynamic in creating the first step?

why not resolved or closed? is it hardcoded? i changed the name of the 'open' status to open2 and when creating a workflow this new status name is directly linked to the first step.

I do not know by what logic this happens. can you help me?

thank you

I don't quite understand the question here.

When you create a new workflow, Jira creates it with a single step, status open, and the "create" transition. That's a simple default. It would be silly to create a default step for "create" that is resolved or closed - the whole point of creating an issue is that you want it in some kind of "open" step.

The "status" is a label that you put on a step to give us humans something to read. I don't know exactly how, but Jira's "create new workflow" simply picks up the first available status. (I suspect it's hard coded to use "status id = 1"). It doesn't care what you've called the status.

0 vote

It's because it's a LOT more simple to create a default step to pin the mandatory "create" transition on - if you're creating a new workflow without it, it's a right pain in the neck. Far nicer to have the minumum stuff there by default, even if you're going to hack it later.

I've not actually tried deleting "open", but you won't be able to until ALL of your workflows have stopped using it. I suspect you won't be able to though, because the default setup needs it. :-(

There is NO harm in changing it in a workflow so that create lands on a different status though.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,308 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot