I'm trying to populate the summary field in one issue type (not all), so that it does the following:
When users select "create issue" > "new starter form", the summary field will be pre-populated with "New Starter - Name - Due Date" (these aren't variables, or calculated entries, just standard text).
I've seen in http://jira.10933.n7.nabble.com/Can-I-populate-a-field-based-on-selection-of-another-during-Create-Issue-td25541.html that you can use a custom field to populate the summary field, but I can't seem to get this to work.
Any help would be great!
try with the following code, if you want to copy value from the other fields to summary field
add the above script in custom field description in field configuration that issue type or you can add it to plugin as webresource module
check this post to know how to add it to plugin as web-resource module
Hi, I'm new at all this scripting and am trying to format the Summary field.
I have 2 fields which the user fills out and I want to use those values to pre-populate the Summary field. How do I have to modify the above code in order to get it to work? I have the following 2 fields:
You'd probably better off in the long term keeping the 3 pieces of information separate in the issue type field, JProject and ATID fields. Then display them next to each other in the columns of the issue navigator.
If you paste them altogether into one field someone is only going to ask you to parse that field later on, which will be tedious. Store the info in one place only
If you really have to have a read-only calculated field to show this then use the Script Runner add-on (not available inOnDemand)
I am trying to do the same thing, set the Summary from a custom field that is a select list.
I would like the summary to be what the selected text is.
I've looked at the above example and do not understand what I should change #SVNKitNPIProjectSelect to? I tried changing it to the name of the custom field and #customfield_10008 , but I cannot get it to work. The JavaScrpt runs up to the hiding of the summany.
Any insights would be appreciated.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot