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 vote

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

49 views 0 4
Read article

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