Forums

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

Automation rule: set Assignee of new story based on value custom field parent

Joost Klykens
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 4, 2025

Hello,

I have an automation rule that creates a certain number of stories when it transitions to a new status. Those stories inherit field values from the parent epic. One of the fields is the system field 'Assignee'. However there's a story where the 'Assignee' needs to be selected based on the value of a custom field of the parent.  Example: parent field = Sales -> Assignee child story X= John; parent field = Production -> Assignee child story X= Peter

I tried several approaches from a simple 'if' branch to smart values but nothing works. Either the value remains blank, gives an error or the value gets the Assignee of the parent. I suppose this should be simple by using an if/else branch but if the first if doesn't equals the parent field it throws an error (stops creating the rest of the child stories). I don't know whether it has something to do with the just before creation of the child or something else but am stuck.

Can somebody help me with this issue please? Thank you very much.

Best regards,

Joost

3 answers

0 votes
Trudy Claspill
Community Champion
September 4, 2025

Hello @Joost Klykens 

Welcome to the Atlassian community.

When asking for help with an Automation Rule that you have constructed that doesn't do what you intend, it will help us help you if you provide us with screen images showing your entire rule, screen images showing the full content of the audit log entry from its execution, and a detailed explanation what results you wanted versus the results that you actually got.

You could use a Lookup Table to create a listing pairing custom values with the related Assignee's account id.

https://support.atlassian.com/cloud-automation/docs/jira-automation-actions/#Create-lookup-table

Then in the action where you create the item that needs special handling for the Assignee, use the Lookup Table smart values to set the Assignee field to the account id (in the table) that is paired with the custom field value of the parent issue.

Trudy Claspill
Community Champion
September 4, 2025

For the stories where you want to copy the assignee, use the Copy option to set the Assignee field.

Screenshot 2025-09-04 at 7.51.07 AM.png

For the story where you want to set the Assignee based on the custom field, set the field using the smart values for looking up a key in the Lookup Table to get the associated value (Assignee account id)

Screenshot 2025-09-04 at 7.52.57 AM.pngScreenshot 2025-09-04 at 7.53.13 AM.png

0 votes
Chitra Nagdeo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 4, 2025

Hey @Joost Klykens ,

Welcome to Atlassian Community!

To create stories (5 story) when Epic is transitioned from one status to another (ToDo to Inprogress), the rule structure should look like below

Trigger:

  • Issue transitioned

    • From: To Do

    • To: In Progress

    • Issue type: Epic

Actions:

  • Create issue (Story 1)

  • Create issue (Story 2)

  • Create issue (Story 3)

  • Create issue (Story 4)

  • Create issue (Story 5)

Each “Create issue” action:

  • Project: {{issue.project.key}}

  • Issue type: Story

  • Epic Link: {{issue.key}}

  • Summary: Story X for {{issue.summary}}

To add Assignee from Epic to Story, in create branch follow below:

Example “Create Issue” Action Configuration:

  • Project: {{issue.project.key}}

  • Issue type: Story

  • Epic Link: {{issue.key}}

  • Summary: (e.g.) Story 1 for {{issue.summary}}

  • Assignee: {{issue.assignee}}

Please help me understand if this is helpful?

Regards
Chitra Nagdeo

 

0 votes
Rudy Holtkamp
Community Champion
September 4, 2025

Hi @Joost Klykens & welcome to the community,

You can use the smart value {{triggerissue.parent.assignee}} to pass along the assignee of the parent of the issue that transitioned (triggered the automation rule.

If you paste a screenshot of your automation rule, then it will be easier to help you with it.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events