Please some one can help me with simple any java script example code.
Like writing some java script for custom field and save it as separately ex. test.js and call/load into JIRA for custom field action to perform.
It would be better if you give more details on what exactly you're trying to achieve i.e. what should this custom field do ?
There are a lot of ways to have "scripted field" which uses code to calculate values or do something else and most of the "non-hacky" approaches is to use a plugin like JJupin or Script Runner.
Also there is an "unsupported" option to inject JS code for custom fields
Developers usually package them up into add-ons –
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot