Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • Create SubTask with Groovy Scrupt Runner after paretn task created based on custom field value

Create SubTask with Groovy Scrupt Runner after paretn task created based on custom field value

Will R August 12, 2013

I'm using the built in script in the workflow editor.

When leaving the condition blank it creates the sub task automatically.

When I have cfValues['customfield_10400'] == 'Internal'

OR cfValues['Customer'] == 'Internal'

Doesn't crate teh sub task

The customer field is a mutil select option box not a straight forward text entry box....

Any ideas?

Thanks

1 answer

0 votes
Will R August 12, 2013

I didnt read the advanced section of the documenation

This worked for me.

cfValues['Customer']*.value.contains("Internal")

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events