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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Groovy issue - JMWE Comment on linked issue Edited


I'm having some issues getting the comment on linked issue post-function to work properly. The end result of this would be to add a comment onto a linked blocked issue when I transition the original issue. 

This functions fine when I do not set the Conditional Execution. 

However, when I add..

issue.get('labels') == 'test'

 ..the issue will transition fine, but does not add the comment.

If I add..

return (issue.get("labels").getName() == "test")

..I receive the following error when transitioning the issue:

 No signature of method: java.util.LinkedHashSet.getName() is applicable for argument types: () values: [] Possible solutions: getAt(int), getAt(java.lang.String), getAt(java.lang.String), getClass(), take(int)

I'd like to set this up to check the original issue for a few different field values (component, label, and some custom fields). If the fields don't match the requirements, the issue will still transition, but will not add a comment onto the linked issue.

Thank you for any assistance! 

0 answers

Suggest an answer

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

Happy New Year and Welcome New Marketplace Partner Program Partners!

Happy New Year! We hope you all had a safe and restful holiday season. 2020 was a unique year full of unforeseen events; however, as we enter the new year of 2021, we’re optimistic for the light at t...

856 views 8 25
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