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,295,414
Community Members
 
Community Events
165
Community Groups

Can you add a component to an issue in automation before the issue is created?

Deleted user May 18, 2022

Hi there,

Can you add a component to an issue in automation before the issue is created?

I've tried using:

 

{
"update": {
"components": [{
"add": {"name": "Component Name"}
}]
}
}

 

But no luck. Thanks!

2 answers

1 vote
Deleted user May 19, 2022

As an answer for anyone viewing this later on:

 

AUTOMATION BREAKDOWN:

 

When: Issue created

Request Type equals 

(your needed request type)

Then: Create a new

(issue type)

in

(x project)

 

It is in the "Then: Create a new" rule where you then need to add a field to set in the "Choose fields to set" dropdown and find Components add add your needed components which will copy of from the JSM request to Jira new issue created when automation is ran. Also, you can choose other fields to set as well as needed. 

Deleted user May 19, 2022

If Components are a required field on the project you are looking to create this new issue in then that is why you need to set a component in this automation before creating the issue. 

0 votes

@[deleted] -

If you are referring to Automation for Jira rule setup, then it can only be done post issue creation.  It is because the triggering event will be "Issue Created".

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

297 views 0 9
Join discussion

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