In Jira Software Server the “Summary” field is always mandatory. Sometimes it does not make sense to let the user fill in the summary field manually. In expample if you have created a workflow for a special type of request. There you always want to have the same structured information visible in the summary. This could help the team who takes care about the request. In this case all necessary information is already filled in custom fields. Now you could be a good idea to autofill and hide summary with information from this fields.
- Go to “Project Settings” and customize your “Field Configuration”
- Search for the “Summary” field and click onto “Edit”
Simply copy one custom fields value and autofill and hide summary field
The above piece of code first hides the summary. Then it takes the value from “customfield_14494” when it is changed and writes it into the Summary field.
Combine multiple custom fields values and populate to summary
The above piece of code again first hides the summary field. When one of the custom fields change it takes the values of customfield_14494 and customfield_12216 and writes them combined into the summary field.
It would also be possible to update the summary with a Postfunction by using Adaptavist Scriptrunner or JMWE Add-On. But also by using these Add-Ons you would have to hide the summary. Adaptavist Scriptrunner would offer Behaviours to do this.