Forums

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

Automation error - can't set parent field when creating new ticket

kate reeder
Contributor
May 27, 2024

Hi folks - I am running Jira software in the cloud on a company managed project. I've created an automation that's getting errors and I'm looking for help to get past them. The automation trigger is when issue transitioned to status 'Complete-In Production", one condition - when a custom field labeled 'Prod Validation Needed' is set to yes. Automation action is to create a new BAU ticket. Everything related to this automation works splendid... except one thing - I can't figure out how to get the newly created ticket to populate with the same parent as the trigger issue. I can add the Parent field to the automation element of create new issue, but the only options are Current issue and Trigger issue. I can't find a way to make it populate with the same parent as the trigger issue. When I select either option from this parent field attribute in the rule (current issue and/or trigger issue), the rule just fails. I've tried both values and both cause failures. When I remove the parent field element from the rule the automation runs fine. I have confirmed that the issue type BAU does indeed have the Parent field available on the create screen. Any ideas? 

rule image.png

audit log error image.png

2 answers

1 accepted

1 vote
Answer accepted
Trudy Claspill
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 27, 2024

Hello @kate reeder 

If you want the newly created issue to have the same parent as the trigger issue, try this:

1. Click the three dots button to the right of the entry field for Parent. You should see two options; SET and COPY.

2. Select the COPY option. This will prefill the field with text like Copy Parent from Current Issue.

3. Click on that "Copy" text. That should give you a pop up with a pull down field specify the issue from which you want to get that data.

4.  For the issue you want to copy from, select Trigger issue.

kate reeder
Contributor
May 29, 2024

thank you!! these steps helped and this corrected the issue :) 

0 votes
John Funk
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 27, 2024

Hi Kate,

Make sure that the issue type of the parent is included in the Issue Type Scheme for the project of the new issue you are creating.

Suggest an answer

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

Atlassian Community Events