The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
  • Community
  • Q&A
  • Jira
  • Questions
  • How to automatically link a test to an Epic when the test is linked to a child issue of the Epic?

How to automatically link a test to an Epic when the test is linked to a child issue of the Epic?

Ori Cohen
Contributor
July 18, 2022

Hi,

I like to create automation that does the following:
Every time a test is linked to a Story (Is Tested by), the Test will be automatically linked to the Epic of the story also (with the same link type).

Is this possible (without scriptrunner)?

if yes, please help how to do it.

Thanks,

Ori

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 18, 2022

Hi @Ori Cohen -- Welcome to the Atlassian Community!

How are your tests implemented?  If they are issues (like Story, Task, Bug, etc.) you probably can do this with an automation rule.

To get you started on creating your rule, please review this documentation and examples:

Kind regards,
Bill

Ori Cohen
Contributor
July 18, 2022

Thanks Bill. I'll explore the links you send.

The Tests are issues that linked to Zephyr application that we use to manage the tests.

I'm familiar with the Automation in Jira but I couldn't find a way to create the rule I need:

  • Trigger - Test is linked to a Story
  • Branch to the Epic of the story
  • link the Epic to the same test with the same link type.

I think I'm missing something and will appreciate any help in defining this rule.

Thanks all :) 

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 19, 2022

Thanks for that information, and first thing: I am not using Zephyr, so I recommend looking at the vendor's documentation and references to use with Automation for Jira. 

If this addon is using the built-in linking, I expect this will still be possible with a rule's issue linked trigger: https://support.atlassian.com/cloud-automation/docs/jira-automation-triggers/#Issue-linked  You can test that by just creating a test rule like:

  • trigger: issue linked
  • action: log the issue that was linked to confirm what happened  {{issue.key}}

If instead the addon uses another mechanism, I would ping their support team for ideas.

Like • # people like this
Ori Cohen
Contributor
July 20, 2022

Thanks you very much.

I will try to configure the rule based on the information you provided and hope it will work.

Like • Bill Sheboy likes this
Ori Cohen
Contributor
July 24, 2022

Success!

Thanks for all the help :)

Like • Bill Sheboy likes this
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events