Automation to create and link issue

Yasmine
Contributor
December 20, 2022

Hi everyone, 

I'm working on an automation for my team and im hitting a couple walls for it. 

What i need: 
When issue is transitioned to x and issue type is x, then create issue and copy x, y, z fields from current issue, AND link issue to trigger issue. 

Most of the automation is working fine but 2 areas are failing:
One of the fields im asking it to copy is a short text field, and it's failing (although the other short text field is copying)
The action to link issue to the triggered issue is also failing entirely.  Screenshot 2022-12-20 133026.png

1 answer

1 accepted

1 vote
Answer accepted
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.
December 20, 2022

Hi Yasmine,

Can you please share the full rule that you have AND share the audit log that shows the errors?

Yasmine
Contributor
December 21, 2022

Hi John, 

Please see below, and thanks in advance. 

Screenshot 2022-12-21 141003.pngScreenshot 2022-12-21 140950.pngScreenshot 2022-12-21 140840.png

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.
December 21, 2022

A couple of things. It looks like you have more than one field called Facility - you should fix that so there are not duplicates there. Check the Custom Fields under Issues to see if there are two. 

Second, I would add a branch after you do the Create. Make the branch for Most recently created issue. 

Then move the Assign the issue to action and the Link Issue to action under the new branch. 

Yasmine
Contributor
December 22, 2022

Hi John! 
Adding the branch worked! Thank you so much. 

I'm still having trouble with the 'Facility' field, I double checked that we don't have duplicates of it and we don't. It's not a huge deal, since the trigger issue will be linked, but maybe I will reach out to Atlassian and see if there is something that I am missing. 

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.
December 22, 2022

Great! For the Facility field, you might have a Team-managed project that has that same field name. Are you narrowing down the rule to only one project? Or multiple projects? 

Yasmine
Contributor
December 22, 2022

It is a team-managed project, and the rule is only specific to this project! 

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.
December 22, 2022

That's very strange indeed then. You should definitely reach out to them. And please post back here with whatever the resolution was for future readers. 

Like Yasmine likes this
Yasmine
Contributor
December 22, 2022

Absolutely. Thank you for your help John! 

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer