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
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 18, 2022

@[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
AUG Leaders

Atlassian Community Events