Forums

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

How Can I Set Epic Link when I manual trigger for Create Issue at Another Project

홍종표 January 12, 2023

Happy New Year.

 

A Project's Issue Custom Field (Select List)스크린샷 2023-01-13 오후 4.47.46.png

and 

스크린샷 2023-01-13 오후 4.45.35.png

 

 

Project B's Epic

스크린샷 2023-01-13 오후 4.48.48.png

 

How Can I Match created new task's EpicLink and  Same name's Epic ??

 

1 answer

1 accepted

0 votes
Answer accepted
Ste Wright
Community Champion
January 13, 2023

Hi @홍종표 

Can I clarify the need here - is it:

  • An issue is created using an Automation Rule
  • In that rule is a custom select list with a list of Epics
  • Depending on which option is selected, it should select the corresponding Epic

Is this correct?

If yes

  • How many Epics options are there?
  • Is "Epic Link" the Select List field?
  • What is written in the Select List - is it the Epic's name?

Ste

홍종표 January 13, 2023

Hi.
```

Can I clarify the need here - is it:

  • An issue is created using an Automation Rule
  • In that rule is a custom select list with a list of Epics
  • Depending on which option is selected, it should select the corresponding Epic

Is this correct?

```

yes It is correct.

 

1. maybe 4 ~ 10 epics.

2. Select List Field name is Platform. Epic Link is new Issues' epic.

3. Select List's item name equals Epic name.

Ste Wright
Community Champion
January 13, 2023

Hi @홍종표 

Because a Select List is value based, and an Epic Link is Key based, I think it'd likely be easier to set this using IF/ELSE Conditions. It shouldn't be too bad if there's only 4-10 Epics to do this.

---

This would be a separate rule from the "Create Issue" rule - the rule would look something like...

  • Trigger: Issue Created
  • Condition 1: Issue Fields Condition
    • Field = Issue Type
    • Condition = equals
    • Value = Task
  • Condition 2: If/Else Block
    • IF...
      • Condition: Issue Fields Condition
        • Field = Platform
        • Condition = equals
        • Value = Valista
      • Action: Edit Issue
        • Field = Epic Link
          • Value = RND-24
    • ELSE-IF...
      • Condition: Issue Fields Condition
        • Field = Platform
        • Condition = equals
        • Value = Linkmine
      • Action: Edit Issue
        • Field = Epic Link
          • Value = RND-25
    • ...etc (create another ELSE-IF section for each Epic)

---

A few notes on this rule...

  • I've provided an example for Condition 1, but this Condition should uniquely identify the Tasks you need to add to the Epics
  • To add the "ELSE-IF" second layer, you need to press "Add else" in the left-hand menu of your rule
  • You'll need an "ELSE-IF" layer for every Platform/Epic combination
  • Because another Automation Rule will activate this rule, you need to allow this to happen through the Rule Details
    • Check the box for the field - Check to allow other rule actions to trigger this rule. Only enable this if you need this rule to execute in response to another rule

---

Let us know if this works for you!

Ste

홍종표 January 17, 2023

sorry for late reply.
I can't understand Issue Create Trigger.

but I use IF-IF ELSE wokring. 


Like Ste Wright likes this
Ste Wright
Community Champion
January 17, 2023

Hi @홍종표 

Just confirming from the above - is this rule working for you? Or do you have questions? :)

Ste

Suggest an answer

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

Atlassian Community Events