Assigning a default epic on issue creation

Hi,

I'd like to assign newly created issues to the epic "Not Triaged" by default. I set up a post-function to try and do this. I used the "Update Issue Custom Field" post-function, I believe from JIRA Suite Utilities. The statement looks like this:

The Epic Link of the issue will be set to Not Triaged.

 Yet when I look at my newly created issue, no Epic Link is applied. Am I not understanding how it works, or is there another step I need to do? The Epic definitely exists and I can drag the issue into it on the Agile board. But auto-assigning in a post-function seems to be escaping me.

2 answers

I was able to do this using a Post-Function in the Workflow on Create side. I think you'll need JIRA Suite Utilities add-on for the function to update an Issues Custom Fields. Maybe Script Runner would work as well. You have to assign the Issue key and not the Name. "The Epic Link of the issue will be set to ATL-136

(JIRA 6.3.5 & Agile 6.7.x)

Thanks David! This works like a charm. 

(JIRA 7.2.8)

Hello David,

 

I have nearly the same problem and I think your solution can help me. I am creating an issue on the transition of an epic, and copying some custome fields, but I can not get the new issue to be assigned the Epic link of the Epic from it is creating the issue. Just normal links.

 

Any help?

Hi, I clearly have no clue what I am doing, in fact I have never been on this site until now, so I am far from a  master, but I wish I could help...I think you have the hang of it though!

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,012 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot