how to track project drop-down change event to execute javascript

Naganandu Bingi April 4, 2013

hi,

i am new to jira, i installed 30-trail version of jira 5.2.7

i have two projects (Jira 4 upgrade, Demonstration) (in the project dropdown).

i have 3-fields , sfirstname , slastname & sFullname.

the requirement was:

if user select project is "Jira 4 upgrade" then: sfullname = sFirstname + sLastname

if user select project is "Demonstratio" then : sfullname = sLastname + sFirstName.

Note: 1) select 'jira 4 upgrade'/'demonstration' in the main page (back groud page of current screen).

2) click + creat an issue. (+ sign)

3) fullname javascript is working fine.

But: if i change project 'dropdown' on create issue page (pls refer screen). the javascript not working.

please guide me , how to resolve this.

thanks in advance.

Regards,

B.Naganandu

4 answers

0 votes
RambanamP
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 5, 2013

if your script is working but not working on project change then check the my answer

0 votes
Naganandu Bingi April 5, 2013

hi,

i am using same fields in the different projects.

how to implement : different logic for different projects on same fields.

ex: if one-project: fullname = firstname+lastname logic.

but second-project: fullname= lastname+firstname logic. should execute on project dropdown selection

how to achieve this , please help on this.

thanks in advance.

Regards,

B.naganandu

0 votes
RambanamP
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 4, 2013
0 votes
Renjith Pillai
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 4, 2013
Rather than this, if you can tell us what you are trying to achieve there may be different solutions.

Suggest an answer

Log in or Sign up to answer