If we click on Field Configuration, we can edit the description of Standard fields.
Is it possible to embed Java Scripts in Standard fields as well?
If you're talking about system fields such as Affects Versions and Description, then yes, you can too.
OK, then how can we get value from resolution field and assign to custom field?
Any javascript help would be grateful!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maybe you should ask this as a new question?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Consider these points:
In stead of JavaScript, you could use my plugin: Slingshot Updatefields to achieve this.
It contains a Workflow Post function and a Listener that you can configure to copy fields within an issue or between issues. It supports build-in fields and customfields of build-in types.
Jos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For now, I prefer javascript.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
then get some html dev plugin for your browser to see what's going on (to get the id's mainly) and try something along those lines for the field description:
<script language="JavaScript" type="text/javascript"> <!-- if(window.addEventListener) { document.getElementById('sourceid').addEventListener('change', setValue, false); } else if (window.attachEvent){ document.getElementById('sourceid').attachEvent("onchange", setValue); } function setValue() { var target = document.getElementById('targetid'); target.value = this.value; } // --> </script>
cheers, Jos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How to know ID for system field likes "resolution" ?
var target=document.getElementById('targetid');
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Should be. We successfully embed html in a system field description.
Henning
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.