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

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

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

66 views 0 3
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