How to populate Summary field on Create transition

I'd like to remove the Summary from the Create screen and populate the Summary field on the Create transition using the value from the Epic Name which is entered by the user on the Create screen.  It appears that according to the documentation, values can be set as long as it is done BEFORE the "Creates the issue originally" post function step since Summary is required.  I've tried various ways to accomplish this but they all cause an error on the create screen stating that Summary is required.  I've even tried to just set Summary to a default value without doing any copying and it still throws an error.  Does anyone know if this is/should be possible?  Thank you! 

2 answers

0 votes

Not without hacking the core of JIRA.

When an issue goes through a create cycle, the process is: check permissions, do interaction with user, check input (including all mandatory fields, which always includes summary), then post-functions last.

You'll note that post-functions happen AFTER validation.  So what you've done is failing simply because you'd need to set the summary before the validation happens, which you can't do.

The closest you can get is an (ugly) javascript hack to default the summary before the users commit anything.

Thank you for the help!  Frustrating that it's not easily achievable.  It wasn't an issue before Epic Name came along, but it causes additional unnecessary work for Epic's now.  Thanks again, I really appreciate it.

I think it's not quite right for Epics because Epics are still, at their heart, a Jira issue that's been co-opted to form the Epic, rather than a complete implementation of an Epic. As you suggest, I'd always expect the "summary" of an Epic to be, well, the name of the Epic. I do it manually, but it's not great. The other trick I'd not mentioned earlier is that I use the script runner to overwrite the summary with the name after creation, but that means remembering to educate the users to be aware that what they put in the summary is going to be scrubbed (so always put in sfsadsada or a dot or soemthing)

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 ...

2,981 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