Need help: Create Post Function that creates a subtask and has a condition to check RelatedIssue

Gary Morrow May 4, 2023

We have Data Center and JWME...

 

I need to create a Post Function that creates a subtask (easy part) and copys some of the parent functions fields (also easy) but that has a validation condition:

relatedIssue.get("status")?.name == "Done"

 

I'm using the exact groovy expression in another post function but it is performing a transition but it won't let me use it for this one. 

 

It gives me an error like the syntax is wrong but again I'm using the exact thing (different status name is all) in another Post Function.  

 

Any help would be great.

1 answer

0 votes
Kseniia Trushnikova
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 4, 2023

Hey Gary,

Can you share a screenshot of the post function configuration? I've just checked the validator and it works correctly.

Suggest an answer

Log in or Sign up to answer