Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I need to hide Summary Field on Epics

Julia Nunes Pedrosa
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 23, 2019

Hey there, 

When creating Epics, I wanted to hide the "Summary" field. 

As  far as I know it can't be done simply because it's a default required field for each and every single issue.

With that in mind, I searched for some javascript which could do the job of hidding it and copying the value of the "Epic Name" to this field, before trying to create the issue with an empty summary (what would lead the user to errors).

I've found the script bellow, and filled it with the id of my "Epic Name" field:

<script type="text/javascript">
if(AJS.$('#summary').length > 0) {
AJS.$('#summary').parent().addClass('hidden');
AJS.$('#summary').val(AJS.$('#customfield_10004').val());
}
</script>

However, it doesn't seem to work as it should.

  • When creating an issue from the "create an issue pop-up", I fill the "Epic Name" then click in create and nothing happens. Literally nothing, not an error, no issues created, it stays in the same page;
  • When creating an issue from clicking in the "create" button and asking for it to be oppened in a new tab, I fill the "Epic Name" then click in create, first I receive the error "summary: you should specify a summary to your issue", then when a click in "create" again, the issues is succesfully created, with the value of "Epic Name" on both "Epic Name" and "Summary" fields.

0 answers

Suggest an answer

Log in or Sign up to answer