Hi,
I tried using the suggestion provided at the below location but using a textfield <255 characters i am unable to preload a message.
http://confluence.atlassian.com/display/JIRA/Displaying+a+Field+Based+on+Another+Field+Selection
What i want to do:
Have the textfield populate a standard turnaround time per project using javascript that can read the current system date. Also if posible make this read only.
I know that the first part of running javascript is possible but is not working for me. What i mean by not working is that when i go to create a new Issue the field appears blank.
Thanks for any suggestions
if you want to make field read only use this
AJS.$("#summary").attr('readonly', true);
Hi Uday,
For the scripts that you are looking for, can you try the below scripts, I have testing on my local machine and it works :)
<script type="text/javascript"> var Day = new Date(); document.getElementById("customfield_10400").value = Day; </script>
And as for your request of making this field uneditable, I would suggest that you try Field Security Plugin or Behaviour plugin, however I have never tested those plugins, just saw the recommendation from the community.
Hope this helps :) and have a great day ahead :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.