Hi All,
Presently I am Using JAVA scripts for getting value of assignee.My objective is to change the assignee based ona field value.
See the present code I am using for that.I wan to convert this using Jquery.
script type="text/javascript">
assignee = document.getElementById('assignee');
source = document.getElementById('customfield_11290');
sourceFieldArea = document.getElementById('customfield_11290').parentNode;
assigneeFieldArea=document.getElementById('assignee').parentNode;
sourceFieldArea.style.display = 'none';
assigneeFieldArea.style.display = 'none';
if (source.value=="value")
{
assignee.value="user1";
}
else
{
assignee.value="user2";
}
</script>