Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,012
Community Members
 
Community Events
168
Community Groups

how can i put a validation on a ticket transition if only meet certain condition.

Hi ,

I want to put a validation on a ticket that ticket can only be transitioned from "Ready TO pick" to "IN progress" if few custom fields dates(like dev complete commitment date, QA complete commitment date) are provided, otherwise ticket can not be moved to any other state.

I've applied automation in order to achieve it, however ,tickets can be moved from "Ready to Pick" to "In progess" if dates are not provided but if page will be refreshed, ticket will be moved back to "ready to pick". this is happing at page refresh..i want it to be happened without need of page refreshment.

Please help!! 

 

2 answers

0 votes

Hello, @Deepika singh ;

have you tried using a workflow condition? Please follow this link, maybe it can help you:

https://support.atlassian.com/jira-cloud-administration/docs/configure-advanced-issue-workflows/

I haven't tried the workflow conditions. Thanks!! 

0 votes
Alex Koxaras Community Leader Sep 30, 2021

Hi @Deepika singh 

You have to edit the workflow of the specific issue type and place two conditions joint by the logical operator of your choice (OR/AND).

  • Project Settings > Workflows
  • Click edit (pencil) on the workflow
  • Select the transition you want to insert these conditions
  • On the popup click Conditions
  • Click Add Condition
  • Click "Value Field - Allows to execute a transition if the given value of a field is equal to a constant value, or simply set."
  • Select your field and value
  • Do that for all variables you need, with the exception that instead of clicking "Add COndition" , you hover over your first initial condition and click Add grouped condition
  • After doing that, set the logical operators
  • Test it and make sure that it works perfectly!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

214 views 1 6
Read article

Atlassian Community Events