Forums

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

Adding Java script to JIRA custom fields

Prasad
Contributor
April 29, 2012

Hi

How do i add Java script to custom fields, i need to validate the custom field entry using java script.

Please send me example and procedure to do this.

Thanks In advance

Ram

2 answers

1 vote
Chaithra N
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 28, 2013
Philippe MARTIN April 28, 2013

Hi,

what I meant is that java script gets stripped off in the create/edit popup: if I look at the popup page with firebug, the java script is just not there. On the other hand, If I look at the custom field description, I see it ...

Regards.

0 votes
Jobin Kuruvilla [Adaptavist]
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 29, 2012

Add it in the description of the field under the field configurations.

http://confluence.atlassian.com/display/JIRA/Associating+Field+Behaviour+with+Issue+Types

Philippe MARTIN April 28, 2013

I tried to associate javascript (https://confluence.atlassian.com/display/JIRA052/Fields+Allowing+Custom+HTML+or+JavaScript) in the Description of the custom fields but it gets stripped off in the create/edit popup (I checked with firebug). My JIRA version is 5.2.9. Any hints?

Thanks in advance.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events