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

Summary field stays required

We have this project within that we dont have the summary field within that one screen in which we dont want it to appear. but somehow while creating a ticket it give us an error saying "Summary: you must specify summary for this issue" -- the reason why it says this is because within the field configuration summary is set to "Required" - and i want to make it optional but somehow we are unable to make the Summary(System field) optional. 

 

This wasnt like this before....we were able to make this summary field optional. Please help as soon as possible. 

2 answers

1 vote
Mohammed Amine Community Leader Nov 13, 2019

Summary field is always mandatory in Jira (and as far as I remember it always was). 

If you want to set a default value you can use this documentation link.

But if you want to hide it (and off course set a default value) you have to use a plugin, like script runner for jira (using behaviors), or power scripts (using live fields).

@Spruha Shah   I would suggest  you create your own plugin but most likely  you  are not able to  you  could use this code snippet.

1. Create a  new tab on the screen and you should name it Hidden   and  then put the summary system field there.

2. use the Java -script to hide and put a default text.  put it in the announcement banner

the number 10502 is the  project value you can  use F12 in developer view fire fox click  inspect and  drag cursor to  the project button and view code to find  this number

(function(){

tF();
AJS.$(function(){tF();});

AJS.$(function() { JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, tF);});

function tF(){

AJS.$("li a:contains('Hidden')").hide();

if ((AJS.$("#issue-create-issue-type").text() == "Bug") || (AJS.$("#issuetype-field").val() == "Bug") &&(AJS.$("#project").val() == "10502") ){

AJS.$("#qf-field-summary").hide();

if(AJS.$("input#summary").val()===" ") AJS.$("input#summary").val("[This summary was generated automatically and should be changed]");
}

}
})();

 

i hope this helps.

Best regards,

Mo

Suggest an answer

Log in or Sign up to answer
TAGS

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