How can I assign an epic to a story created by automation rule?

Parto Hamidi October 3, 2024

I have created an auto rule to create a story every Mondays. How can I assign the created story to an existing Epic in the project?

 

1 answer

1 accepted

1 vote
Answer accepted
Samuel Gatica _ServiceRocket_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 3, 2024

Hi @Parto Hamidi 

In the Created action in Automation add the Parent field you can set the value manually or using a smart value.

 

Screenshot_1.png

 

Hope this helps!

Best regards

Sam

Parto Hamidi October 3, 2024

Thank you so much Sam for your prompt response but I don't see Parent field! I searched the available fields but it's not listed. I am using Kanban board and the issue type is Story.

Any thoughts where I can find Parent?

Thank you!

Parto Hamidi October 3, 2024

hi @Samuel Gatica _ServiceRocket_ , Would you please help me with this request. I even added 

{
"fields": {
"Epic Link": "Pentest Activity"
}
}

To the More Options-Additional Fields, but still the Epic is not assigned.

Samuel Gatica _ServiceRocket_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 4, 2024

Hi @Parto Hamidi 

Can you please take a screen shot showing the Automation details?

 

Thanks

Sam

Parto Hamidi October 4, 2024

Hi @Samuel Gatica _ServiceRocket_ ,

Thanks for your message. Please find below the screenshot.

Screenshot1.JPG

Parto Hamidi October 4, 2024

And there is no Parent or Epic in the list of "Choose Fields to Set"

Samuel Gatica _ServiceRocket_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 4, 2024

Hi @Parto Hamidi 

It looks like you're using Jira Automation for the Jira On-premise version, so you'll need to use JSON format to link your Epic.

Please try using the following:

{
"fields": {
"Epic Link": "EPIC-123"
}
}

 

Best regards

Sam 

Parto Hamidi October 4, 2024

Hi @Samuel Gatica _ServiceRocket_ ,

Yes I am already using the Jason Format you shared. It's in the screenshot. But still the task is not assigned to the mentioned Epic. 

I really appreciate your time and assistance to fix this issue.

Parto

Samuel Gatica _ServiceRocket_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 4, 2024

Hi @Parto Hamidi ,

You need to set the EPIC KEY, not the Epic Name

Change: "Epic Link": "Pentest Activity"

to "Epic Link": "EPIC-123"

 

Best regards

Sam

Parto Hamidi October 4, 2024

Thank you so much! The issue is fixed :)

Parto Hamidi October 8, 2024

 

 

Suggest an answer

Log in or Sign up to answer