Our new Appfire Documentation Space is now live!

Take a look here! If you have any questions please email support@appfire.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This tutorial will guide you through writing Closures.The code snippets in the previous tutorial can be simplified to:

def count = 0
issue.getAvailableOptions("versions").each{
  if(it.isReleased()){
    count++
  }
}
count


//Find whether a particular check box is selected or not
issue.get("Scheduled tasks").any{
  it.value == "Printing"
}
  • No labels