Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Set summary by default, depending on Issue Type

Hello, 

I would like to set a Summary by default when the issue is created depending on the issue type as I want the user set always set the same summary if the issue type is one in concrete, how can do that?

I'm using JIRA cloud.

Thanks in advance.

4 answers

1 accepted

0 votes
Answer accepted
DPK J Community Leader Feb 27, 2020

@saraWelcome to the community!

This is not directly possible as "Summary" is one of the core field in Jira and you can't hide it or remove it from required section.

As workaround you use post functions to populate value of summary field with default value.

Read this here - https://confluence.atlassian.com/adminjiracloud/advanced-workflow-configuration-776636620.html?#Advancedworkflowconfiguration-Usingapostfunctiontosetafield

Thank you.

But what I want is when the screen, to create a new issue, is opened the field Summary was already filled, using a post-function will fill the value after the user fill all the values in the screen and click on button "Create" and this is not the behaviour I want. Is there any way to do that?

DPK J Community Leader Feb 27, 2020

@saraThat is not possible.

There are some workaround that people deploy for 'Description' field, like,

  • Creating a custom field of rich text type with default value
  • Hiding original 'Description' field,
  • Showing custom (created above) in create screen, and
  • Later in post function copying value from Custom Description field to original Description field.

I have not seen/tried this for summary field but you can check if out (in my opinion it won't work).

Also, most solution you will find will be for Jira Server version and due to certain limitations in apps and scripts they will not work for Jira Cloud.

I test it but doesn't work.

Thanks anyway!

1.Go to the respective Field Configuration of the project.

2.Find for the Summary field.

3.Click on Edit.

4.Input the following JavaScript at the Description of the field:

 

<script type="text/javascript">

if (document.getElementById("summary").value == "") {

document.getElementById("summary").value = "<Default Value for Summary>\n";}

</script>

 

I've already test it but doesn't work in jira cloud.

@sara 

oh, didn't read that you use cloud
I use server and there it works perfectly

np, @Alexander Pappert  thanks anyway

Hi @Alexander Pappert

 

May I ask what version of Jira Server are you using right now?

I also tried on cloud and it won't work.
Tried on Jira Server 8.7.1 it also doesn't work, but it works well on Jira Server 8.5.8

Having the same issue as @Rika Mandasari 

Had one o these "script solutions" in jira 6.4.x, worked, updated jira to 8.7.1 -> doesnt work anymore. I dont know why.

Im not expecting help or smth, i just want to let others know its not because of them.

After wrestling over this for weeks or more and not being able to find a solution to setting the default Summary (built-in) value for tickets of a specific Issue Type, I decided to see what my options were to replace the Summary field, which I was dreading because of what it might affect.

This may only work for my simple project, but my Issue Types are the same as the Request Type name.

For example:

  • Issue Type: Employee Onboarding
    • Request Type: Employee Onboarding
  • Issue Type: Employee Offboarding
    • Request Type: Employee Offboarding

I went to Request Types -> Edited the fields for a specific Request Type name (say, the onboarding one).  Edited the fields and selected "Hide" for the Summary.  When hiding the Summary field, it asks you if you want to set a default value since it is a required field.HideSummary.PNG

I am not sure how I never came across any documentation or forum post that said anything about this.  But it is so simple, but so hidden - pun intended.

I'm not sure if this helps, since you can have multiple Request Types using a single Issue Type.  But if it is a 1:1 between the two, you can use this solution.

Thank you, but this is not enough for me as I want to set a dynamic description (Fix text + value of a custom field).

Automation for Jira will do that trick (Fix text + value of a custom field).

You still have to define a summary and then hide it as above. But the automation will do the changes

Sorry to reply on this old question, but I was wondering if a solution was found.

 

I want to hide the summary in Jira Software not the customer portal (which you can hide it fine with the solution provided by @Gavin Joye )

I have the code in the description provided by @Alexander Pappert but again, it doesn't work when I am creating an issue internally (from the create button in Jira Software).

Any help is very appreciated.

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