The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

[JWM & JSW] set a value in the Parent field after issue creation

Kate Pawlak _Appsvio_
Community Champion
April 18, 2024

I would like to create an automation rule which is triggered by Issue created. When some conditions are met, I would like to set the issue key in the Parent field. The issue key is always the same, for example HRA-36.

Do you know how to do it?

I was trying with Edit issues but no actions were performed. 

Rule_builder_-_Automation_-_Human_Resources_Appsvio_-_Jira.png

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Kate Pawlak _Appsvio_
Community Champion
April 18, 2024

UPDATE:

Thanks to @Luis Machado, the automation rule works. You have to change "set" to "key" and remove curly brackets. So this is the correct syntax:

{
"fields": {
"parent": {
"key": "HRA-36"
}
}
}

 

TAGS
AUG Leaders

Atlassian Community Events