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

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
Community showcase
Published in Jira

Keep your team in the loop with Team @mentions in Jira Software!

Hi everyone! My name is Jenny, a Product Manager at Atlassian. After launching Team @mentions in Confluence, we heard a lot of positive feedback from customers that they love how easy it is to @men...

229 views 4 12
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