Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger on issue created

Srinivasan Sampathkumaran
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 25, 2023

Here is my requirement:-

Trigger: New issue created

Condition:

1) Issue is of type - Task, Story, Bug or Subtask

2) The issue has a non-empty Epic Link (i.e. they are created as child issues on an existing epic)

Action

1) Issue should inherit the "Component" field value from the parent epic

 

The problem that I face is on condition 2 - I'm unable to select Epic Link as one of the fields and check if it is non-empty. That is, I need to be able to run this trigger only if the issue is part of an existing Epic.

Appreciate any advice on how to solve for this!

1 answer

1 accepted

2 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 Leaders.
June 25, 2023

Hi @Srinivasan Sampathkumaran -- Welcome to the Atlassian Community!

You could try using an advanced compare condition to reference that smart value for the field.

I also recommend confirming which field is used for epics in your project: epic link or parent.  (This has changed with recent changes over the last year to some epic fields.)  You can do that using this how-to article: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

Kind regards,
Bill

Srinivasan Sampathkumaran
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 26, 2023

Thank you! That worked for me.

Like Bill Sheboy 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