How to create issue in non-default status?

On the create screen i'd like to decide in what of two status the issue should be created. How can I do it?

1 answer

1 accepted

1 vote
Accepted answer

You can't. A transition has a single end-point, so no matter what you do, "create" always lands on one status. That's it.

Your options:

  • If the different status are for different issue types, create different workflows for them
  • Write a new "create" process
  • Include a transtion from the first status to the second in the workflow. Write a listener that will catch "create" events, and use the transition when it spots a new issue that should start in the other status

If you look through similar questions, you might find suggestions of writing a post-function that changes the status as the transition runs as well. I've never seen it work, although I've cleaned up the disastrous mess made by them a couple of times.

Huge thanks for the answer. Now we use the first status "New" where user by hands decides what status to choose next by clicking appopriate transition.

Yup, my third line is essentially that - you are doing it by hand at the moment, but a listener could be written to do it automatically.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,555 views 15 21
Read article

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