Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation Rule

Edited

Is there a way to configure issues (Story, Bug, Task) in Jira so that a ticket cannot be any other status other than "To Do" if there is no value entered into the Story Points field? For example, in the board workflows, you can set a rule so that a ticket can't be moved by certain people or a ticket can't skip one of the swimlanes. Basically, I am wanting to know if there is a way to do that same type of restriction but it looks at the Story point field to make sure there is a number entered.

2 answers

2 votes
Dirk Ronsmans Community Leader Jan 04, 2022

Hi @chathuri kaluthanthri ,

You mention an automation rule but that's not the way to go.

What you need to do is set a condition (or validator) on the outgoing status transitions. A condition will make it so they cannot see any transition until they enter a value or a validator will prompt them when transitioning to another status to enter a value.

If they leave it empty the transition will be blocked.

Imho, the validator seems to cleanest solution.

https://support.atlassian.com/jira-cloud-administration/docs/use-workflow-validators-for-company-managed-projects/

The validator allows you to tell them why you are blocking the transition, so it's often better than a condition (which just silently stops them seeing or starting the transition)

Like # people like this

Hey @chathuri kaluthanthri 

Welcome to Atlassian Community !!

We can add condition/validators is workflow transitions to achieve this. Link on how to configure conditions/validators in workflow https://support.atlassian.com/jira-cloud-administration/docs/configure-advanced-issue-workflows/#Advancedworkflowconfiguration

In your case you have to add to all transitions where your issues moves from "TO DO" Status to other Status

Steps to add Validator: Workflow --> In Edit Mode --> Validators --> Add Validator --> "Field Required Validator".

The validator will be like this:

validator_jira.png

validator_jira2.png

Steps to add condition: Workflow --> In Edit Mode --> Conditions --> "Value Field" then add this type of parameters for Story Point.

The condition will be like this:

Jira_Condition.png

Hope this helps !

Regards,

Vishwas

Dirk Ronsmans Community Leader Jan 04, 2022

@Vishwas N M 

great info, just keep in mind that from a user friendlyness a validator is nicer.

A condition will block the user from doing an action but they won't know what they are missing and need to be educated on it.

With a validator they will get a error prompt/a transition screen which is just a cleaner option.

Like Vishwas N M likes this

Hey @Dirk Ronsmans 

I was about to respond same. Yes Validator would be the best solution as it shows users what is the required field before we do transition.

Let me edit my answer to accommodate validator too.

Regards,

Vishwas

Updated answer to show both option to configure validator and conditions

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
Community showcase
Published in Jira Software

👋 Looking for 15-20 volunteers to test Atlassian training content

Hi everyone! Are you interested in beta testing Atlassian University’s newest (unreleased!) training course? We’re looking for 15-20 volunteers to test our newest training course, Basic reporting...

759 views 24 28
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you