Script to have more than one option for initial status

I'm looking for a way to have more than one option for initial status, so that when users log an issue they can set the initial status to either "Open" or "Ready" - i.e. a regular status and a fast-track status.

Currently this takes two steps. The initial status in our workflow is "Open" and users often forget to change the status of important and well-defined issues from "Open" to "Ready."

I'm looking for a way to enable this from the Create Issue screen, perhaps by adding a custom field to the Create Issue screen, and then creating a script or post-function that sets the initial status to either Open or Ready based on the value entered for that field.

Importantly, our JIRA is not self-hosted, so we need a solution that works for OnDemand.

2 answers

1 accepted

3 votes

You mention in your tags script runner and JJupin, but neither plugin is available in OD.

You can do this without using a plugin by setting a condition on your Ready transition that checks the required fields are filled, and then use the "auto" property on the transition - more info here: https://answers.atlassian.com/questions/49747/what-is-your-most-valuable-jira-trick

Jelly escalation is also not available in AOD...

You are right, i didn't saw we were talking in OD.

Your solution look great.

Thx

Thanks Jamie

The thing with onDemand is that, from what we measured, the technology really will lack performance when it comes to scripting. The amount of communication is just too big, and not all stuff will be available.

I tried to propose sanboxed instances on onDemand, but the thought was rejected w/o further comment (understandably).

Hi Shawn

"Currently this takes two steps. The initial status in our workflow is "Open" and users often forget to change the status of important and well-defined issues from "Open" to "Ready."

If they are well defined why don't you use

https://confluence.atlassian.com/display/JIRA/Jelly+Tags

https://confluence.atlassian.com/display/JIRA/Jelly+Escalation

Setting a service to run a jelly script i na given period of time ( secounds) that would catch "those well-defined issues" that are open and automatly make the transition of the issues to the state you need.

Regards,

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

795 views 2 19
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