Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Jira Workflow - Transitions - Conditions - Error Message?

Jonathan Cunliffe November 19, 2021

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

10 votes
Answer accepted
Avinash Bhagawati _Appfire_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 19, 2021

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

Jonathan Cunliffe November 19, 2021

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

3 votes
Answer accepted
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 19, 2021

@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 _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 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
AUG Leaders

Atlassian Community Events