Jira automation - create a story and related issues

Bryce Roessner May 30, 2024

We are trying to standardize issues and naming within one of our software projects using a manual automation trigger on an Epic that created stories with the appropriate parent (epic). This is working

What I am having an issue with, is that one of the Stories, is not work completed by that software team. It belongs on a different Jira board.

I'd like for the automation to create a Story (call it story-1) in the current project. Then create 3 stories in a different software project that are linked to story-1.

If I use 'Trigger Issue' - all the stories link to the Epic. I'm open to suggestions, but essentially, just need a story on the same project where the automation was triggered, and some type of links on another software project.

 

Screenshot 2024-05-30 at 10.15.55 AM.png

 

1 answer

1 accepted

2 votes
Answer accepted
Mark Segall
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 30, 2024

Hi @Bryce Roessner and welcome to the community!

On your Create Issue actions for those stories you want created in a separate project, you can change the project value from "Same Project" to the desired target project. 

As for linking, I would take the following steps:

  1. After your first Create Issue component, add a Create Variable action. For this example, I'll set it like this:
    1. Variable Name: varLink
    2. Smart Value: {{createdIssue.key}}
  2. On each of your subsequent Create Issue components add the Linked Issues field, set the desired link type and use {{varLink}} for what it should link to

 

Bryce Roessner May 30, 2024

Thank you @Mark Segall! That was the solution I was after. I appreciate your help! 

Like Mark Segall likes this

Suggest an answer

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

Atlassian Community Events