I'm trying to set a watcher field based on project component specific condition post-script called "Set Field Value to Constant or Groovy expression",
Setting the Watcher function works without the component condition but fails when I set a condition.
I tried:
issue.get("components") == "13098"
issue.get("components") == "Component Name"
issueObject.get("components") == "13098"
issueObject.get("components") == "Component Name"
This is similar to https://answers.atlassian.com/questions/285260 but Component instead of custom field.