Inform user for missing field in transition

Marc Viladés
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 16, 2024

Hi, 

I have a workflow that requires a certain Date Field to be informed to allow a certain transition in a workflow.

If the rule is not met, Jira moves back the issue, but the user might be wondering why is that. I'd like to inform the user in some way that is not an email, that the transition is not posible because a certain field is still empty.

I'm trying to do that using automations, but it doesn't work.

What I've done is:

1.- Create a rule to prevent issues transitioning from Status-A to Status-B if Field-X is empty

2a.- Create an automation to create a comment in the issue when transitioning from Status-A to Status-B if Field-X is empty

and the other way around, just in case

2b.- Create an automation to create a comment in the issue when transitioning from Status-A to Status B

It doesn't seem to work. Why ?

Is there another method to accomplish this ?

1 answer

0 votes
Floating electron
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 16, 2024

Hi @Marc Viladés 

It seems like you should be using a workflow validator. If the validator's condition fails, the user is prompted to fix the error before they can transition the issue.

OOTB, in company-managed projects there is a Field Required Validator, which comes with some default validation message.

In team-managed projects there is only a condition-like rule to block the transition based on field value, so it won't work.

If you are using a company-managed project and would like to customize the validation message, we have developed Fields Required Validator, which is part of the Workflow Building Blocks for Jira free app, that lets you do that.

I hope this is helpful for you, regards!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events