It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Assigning a default epic on issue creation

Gavin Carter Dec 05, 2014

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

2 votes
David Puchosic Mar 01, 2016

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)

Rajat Sethi May 15, 2017

Thanks David! This works like a charm. 

(JIRA 7.2.8)

Like Fred Kendall likes this
Lara López García Oct 10, 2017

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?

0 votes
Amber Dec 07, 2014

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 Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

1,766 views 3 15
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you