Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,776
Community Members
 
Community Events
165
Community Groups

Unable to create issues in other project with link automation

Hi,

I recently created a simple automation. The automation creates 5 new issues (2 of which are in other projects). The issues which are in the same project are created successfully. The 2 issues that are in other projects return the error "Issues X must be of type 'Epic'".

Trigger: Value changes on Epic

Actions:

1. Create a new task (in same project)

2. Create a new task (in same project)

3. Create a new task (in same project)

4. Create a new task (in different project)

5. Create a new task (in different project)

 

I am attempting to link the newly created issues to an epic through the "Epic link" field and issue the smart key {{triggerissue.key}}. I have also tried linking the issues to the epic using "Copy from trigger issue"

The scope for the rule is "multiple projects" and contains all of the projects that I want to create an issue in.

 

See below screenshots. I also provided screenshots of the actions that appear to be causing the issue. 

Screen Shot 2022-06-07 at 8.59.56 AM.png

Screen Shot 2022-06-07 at 9.17.00 AM.pngScreen Shot 2022-06-07 at 9.16.39 AM.pngScreen Shot 2022-06-07 at 9.14.35 AM.png

1 answer

Hi @Justin Larzelere -- Welcome to the Atlassian Community!

Smart values are spacing and case-sensitive, so please try:

{{triggerIssue.key}}

And, I recommend adding a condition after the trigger to confirm the issue type is Epic before proceeding with the rule processing.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,485 views 37 44
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you