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,360,690
Community Members
 
Community Events
168
Community Groups

Set Component for subtask in Create a Sub-Task Listener

Hello all,

I have created a "Create a sub-task" listener. In the Additional Issue actions, I am trying to get it to set the component for the sub-task but I am not able to figure out the proper commands for it. 

I thought putting in this would work but it does not:

issue.components == 'IT'

There are no errors posted in the script editor. Is it because components has a list associated it, I have to call that list up and specify what to pick from the list? I am a bit lost in this :(

Any help would be greatly appreciated. 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

197 views 1 6
Read article

Atlassian Community Events