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

How to call java script code(Inside plugin) from create screen custom field?

Suresh July 1, 2015

Hi,

How to call java script code(Inside plugin) from create screen custom field with out coding in field description.
when user clicks on 'Approved' checkbox.The user name should capture the below 'Message Integration change Approver' user field.
As of now we are achieving through java script in field description.Going forward java script in the description field will not support with upcoming JIRA releases.
So we would  like to call the script in the plugin on already existing field in jira. 
sample.PNG

The example showing java script calling on new field.But we trying to call on exiting JIRA custom field.


Regards,
Suresh

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
GabrielleJ
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.
July 2, 2015

Based on your requirement, you can just add this function in the workflow transition... Like "Update an Issue field" or run a custom script which do the same thing.

Suresh July 2, 2015

This is an optional field.we can't set this in post function for every issues creation and also update issues field will work with predefined values.we can not set same user for every issues creation.

Suresh July 2, 2015

typo mistake :'update custom field' we can set 'current user' but this value is not required for every issues creation.

GabrielleJ
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.
July 3, 2015

Then put a condition on when will the update custom field will run

Suresh July 7, 2015

I am looking to call java script in web resource module. How Can we add help text next to the custom field like,which will be pop-up (question mark).As soon as we click on question mark ,one pop-up will displayed with details.

0 votes
Suresh July 1, 2015

Hi Bautista, I have changed ticket description with more details. Suresh

0 votes
GabrielleJ
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.
July 1, 2015

Can you provide screenshots on what are you trying to achieve here?

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events