Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JMWE or some other tool: Ensure that the value is actually entered in the custom filed of a parent

Jurica Petricevic
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.
November 20, 2022

Hi Community,

 

is it possible?

In the specific case, it means that we want to block the workflow of the subtask until the value is entered in the field in the main ticket. Only when any value is entered in that field can the subtask be transferred to the next status, in our case "done".

 

Best regards

1 answer

1 accepted

1 vote
Answer accepted
David Fischer
Community Champion
November 21, 2022

Hi @Jurica Petricevic 

You can use a Scripted Validator with a script like:

!issue.parentObject || issue.parentObject.get("required field name or id") != null
Jurica Petricevic
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.
November 30, 2022

@David Fischer thx mate, like always the best one.

Suggest an answer

Log in or Sign up to answer