Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,697
Community Members
 
Community Events
165
Community Groups

Setting a Parent field as Mandatory based on Sub-task's partial Summary

Hello,

 

Looking for some guidance on how to do this. I need to set a field on the parent ticket as mandatory if a sub-task is created with a partial name (E.G. Pricing Sign Off). Is this possible? As of the moment, the sub-task is being created as "Pricing Sign Off - <*Client Name*>".

I used the Required Field Validator and tried the following conditions but they always return as false regardless if the Summary of the sub-task contains "Pricing Sign Off" or not:
issue.getLinkedIssues().any{it.summary == "Pricing Sign Off"}
issue.get.any{it.summary == "Pricing Sign Off"}
issue.summary.toLowerCase().contains("Pricing Sign Off")

FieldRequiredValidator.JPG

Please help, thank you!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

361 views 0 7
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