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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,556,260
Community Members
 
Community Events
184
Community Groups

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

Gary Morrow
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 04, 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.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events