title: Why do issue view page requires an extra refresh to see the customfield value?
body: <p>I am updating my custom field pro-grammatically if custom field is left blank. I found a question on stack related to this which helped in saving/updating custom field value correctly.I referred <a href="https://stackoverflow.com/questions/8251892/how-do-i-save-a-value-into-a-custom-field-in-jira-programmatically">this stack question</a> .</p>
  
  <p>As I said I am updating custom field if it is left blank. So I have written some java  code which checks if custom field is null if yes then I am generating some values using java code and updating and saving value in database. This all is working fine. I am doing this all when create issue. </p>
  
  <p>But when issue page is rendered the respective custom field is not displayed,it need an extra page refresh for that. After page reload the custom field is rendered on page with correct value. </p>
  
  <p>Any ideas? Why page reload is required ? 
  Can some point me to write direction ?
  I am using JIRA 6.0.x</p>
  
  <p>I am writing code in <strong>MyCustomField extends AbstractSingleFieldType</strong> class and using its <strong>getVelocityParameters</strong> method</p>