Auto-populate summary field with value of customized field

Hi,

I would like to auto-populate the summary field with a value of a customized field in the create issue screen. When creating an issue there is a custom drop down field which is required. The value of the drop down field should then appear in the summary field.

  1. Custom field "Meeting type" includes "Value#1"
  2. Summary should show "value#1"  of chosen value of field "Meeting type"

The purpose is that the user doesn't have to fill in the summery as it will be auto-populated

Any ideas?

Many thanks! BR,

Alex

2 answers

0 vote

You'll need to inject some clever javascript to do that - stuff that can react to the changes in your fields as the users click and update, and dynamically set the summary.  It will also need to disable their entry into the summary field.  I think you can do it with Behaviours from the "Script Runner" add-on.

Another option is to do it after the create, which is easier to script for as a post-function will receive what the user finally settled on, there's no need for dynamic activity capture, but it does mean destroying what the user enters in the summary because they have to enter one to get that far.  When I've done it this way in the past, I've added a custom field for what the user puts in as the summary and populated that with their input, so nothing is lost.

However, no-one really seems to like generated summaries as they tend not to be as useful as freely chosen text.

@Nic Brough [Adaptavist], thank you for your answer. I will try it with the post-function first.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

78 views 0 5
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