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

show/hide field based on other field value using JavaScript in jira 5.0-rc1

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.
November 23, 2011

Hi,

how to write javascript for jir5.0-rc1? is there any documets?

Thanks

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
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.
December 4, 2011

sample js for rc-1 as follows

JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e, context) {
  if($('#customfield_10072').val()== ''){
    $('#customfield_10072').val('NA');
  }
});
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.
November 27, 2011

any help on this question?

TAGS
AUG Leaders

Atlassian Community Events