Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Type text into textarea on Jira defect page by using JQuery val() is not working

Tam Vo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 14, 2018

I have a Jira site and I want to automatically submit a defect by populating title and description using JQuery, please see attachment below:

jira.PNGI added script $('div[spacing="comfortable"]').find('textarea').val('Modify bug 1');

On UI the text change from 'Bug 1' to 'Modify bug 1', but when I hover to the text area or click the confirm button, the value changed to previous text 'Bug 1'. I also try simulate human typing from article https://www.jqueryscript.net/text/jQuery-Plugin-To-Simulate-Human-Typing-typetype.html but no luck.

How I can resolve this case?

0 answers

Suggest an answer

Log in or Sign up to answer