Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Copying Issue Type into Summary field

N Grant April 17, 2018

Hoping someone can help me. I am brand new to this.

How do I modify this script to copy the Issue Type into the Summary field.

<script type="text/javascript">
if (document.getElementById("summary").value == "") {
document.getElementById("summary").value = "<Default Value for Summary>\n";}
</script>

 

We do not have any add-ons to do this. I want to do it using javascript in the field description. It works when I enter text, but I don't know how to call the Issue type.

Thank you in advance for your help.

1 answer

0 votes
Nguyen Tran
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 17, 2018

Hi N Grant,

While I'm not familiar with injecting javascript into field. For what you're trying to do, I would recommend using "Automation lite" add-ons. This is easier and doesn't cost money.

Bests,

Nguyen

N Grant April 18, 2018

Thanks Nguyen.

Until we get the add-ons that we need, I am still looking to get my question answered.  Still need to now the proper format to call the Type into the Summary field using the javascript code.

Does anyone know how to complete the javascript code to pull the Issue Type into the Summary field?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events