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!
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@[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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.