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

Jira Workflow - Transitions - Conditions - Error Message?

Hi,

I've created a condition on a transition that says 'Fix Version' must be populated in order for the transition to be available and execute.  It works fine in that the transition is only visible when the has a value.

This works fine for me as I know why the transition isn't available. For other users, less familiar with the workflow this will not be obvious.

Is there a way to alert a user that a specific condition has not been met and to prompt them to complete it?

Thanks as always,
Jon C

3 answers

3 accepted

6 votes
Answer accepted

Hi @Jonathan Cunliffe , 

Instead of Condition, you can make use of Field Required Validator as part of transition.

Can you try below steps.

  • Create screen > add fix version field to the screen > add this screen as transition screen.
  • In transition, add Field Required Validator with fix versions field and publish the workflow.

Thanks,
Avinash

Excellent.  Thank you all.  Have a great weekend......

2 votes
Answer accepted

@Jonathan Cunliffe -

As mentioned @Avinash Bhagawati _Appfire_ , this is exactly what you need to do in your WF.  By implement his suggestion, when users tries to transition the issue, he/she will see the pop-up transition window for "Fix Version" population, if he/she fails to provide a value the transition will failed and not be completed.  Their can only cancel the transition if they don't know the appropriate Fix Version value to provide.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

1 vote
Answer accepted
Alex Koxaras Community Leader Nov 19, 2021

Hi @Jonathan Cunliffe 

There isn't a way to alert the user that a field must be filled in order to reveal a transition. For these cases we usually turn our attention to validators. This mean that the transition will be visible to the users, but if they try to perform it, if the fix version field is empty, the validation will fail and the transition will not take place. A message on the bottom left corner will appear.

Another solution would be the one that @Avinash Bhagawati _Appfire_ suggests with the transition screen and the use of validators.

Be well!

Suggest an answer

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

Next level incident management in Jira Service Management

Hello Atlassian Community! We’re thrilled to announce some exciting changes to incident management in Jira Service Management Cloud, in order to give your teams extra muscle during incidents, and ...

1,735 views 21 12
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