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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Link issue to existing EPIC - JIRA Automation

Hello,

I am attempting to create a rule that edits the epic link and assigns a specific epic to that issue.  I am using the following JSON

{

    "fields": {

        "Epic Link": "ISSUE_ID_OF_EPIC"

    }

}

 

I receive an error stating 

Edit issue
Error editing issues
SomeIssue-160 (Issue 'ISSUE_ID_OF_EPIC' must be of type 'Epic'.)
The issue shows up as an epic.  I think I am missing something.  Any help would be appreciated. Thank you.

 

jira_issue.png

2 answers

1 accepted

0 votes
Answer accepted
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 07, 2023 • edited

Hi @jvantrease and welcome to the community,

Some questions:

  1. In your screenshot it seems your action is in another "line" (like it would be if there is a branch in between). Is that the whole automation rule? If not please provide complete material for the community to be able to do a propper analyze.
  2. you mentioned "ISSUE_ID_OF_EPIC" --> did you write the issueID or the issueKey into your JSON? I tested with adding the issue key to a JSON and it worked like a charm.
    eg.:
    image.png
  3. If you added the key in your JSON please provide a clear screenshot of your JSON as well as from the issue you are trying to link.

Best
Stefan

Hello Stefan,

 

Thanks so much for your help.  I eventually figured out the issue.  The issue I was trying to link was not an Epic issue.  It was in fact a User journey. Sorry to bother you.

Like Stefan Salzl likes this
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 08, 2023

That would have been my main guess ;)

Good to know you got that working and thanks for your feedback

Like jvantrease likes this

You might try passing the entire issue instead of just the key. If you only have the key to work with, you could use a lookupIssues action to get the issue based on the key. This returns a list, so you will probably need to reference it as {{lookupIssues.first}} to return the whole issue.

Oh sorry! I just saw that you have both the Epic Link field and Epic Link in the Additional fields section. This could also cause problems. You'll want to uncheck that in the dropdown when using the Additional fields.

Like jvantrease likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events