Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Link issue to the existing using jira automation rule

shriya March 4, 2025

Hello Team,

 

Could you share the automation rule field to choose for linking a issue( bug) to the epic ?

 

I am trying to do it as shown in image, but unable to add "jira issue key ".

I observe only two options here -

trigger issue or more recent issue. I need customize field to add issue key.

 

image.png

2 answers

0 votes
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 Leaders.
March 4, 2025

Hi @shriya 

For a question like this, context is important for the community to help.  Please post the following:

  • what type of project is this (e.g., company-managed, team-managed, etc.), 
  • an image of your complete automation rule in a single image for continuity,
  • images of any relevant actions / conditions / branches,
  • an image of the audit log details showing the rule execution, and
  • explain what is not working as expected and why you believe that to be the case.

Until we see those...

Are you trying to link the Bug as a child issue to the Epic or use another type of linking?

  • When making the Bug a child of the Epic, set the Bug's parent field to the Epic's key.
  • Otherwise, try using the Link Issues action and typing in the Epic's key.

 

Kind regards,
Bill

shriya March 4, 2025

Hi Bill,

Thanks for the response.

We are working on implementing CI/CD framework with Jira integration with Github & Xray. 

Scenario - Based on test execution status , on failure bug is raised and I need to link it automatically with EPIC/parent/test execution. Jira issue (bug) is raised from Github actions using API. 

I am commenting bug number on Jira issue/parent which triggers Jira automation rule to link the bug .

Jira automation rule -

image.png

 

As shown in the above pic, instead of "Trigger issue"   or  "Mostly recently created issue" I want to add "jira key".

Could you suggest an example on "Link issue action" ?

 

Thanks,

Shriya 

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 Leaders.
March 5, 2025

When you have a smart value with the key, it may be typed into that field for the Link Issues action.  The smart value will appear below the field, and then it may be selected for use.

0 votes
Samuel Gatica _ServiceRocket_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 4, 2025

Hi @shriya 

Try adding a Branch to capture the most recently created issue.

example:Screenshot_2.png

Best regards

Sam

shriya March 4, 2025

Hi Sam,

Thanks for response,

I am looking to add jira issue key directly instead of  "Mostly recently created issue"

 

Regards,

Shriya

 

Suggest an answer

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

Atlassian Community Events