Update custom field value with Current_DateTime fails to display

We have JIRA Suite Utilities Workflow Post-Functions installed. We've added a post function that calls for a field to be updated with the %%CURRENT_DATETIME%% value but when tested, it fails to update. The fix is to remove the field from the post function, then re-add it again. Is there a known issue to cause this behavior?

5 answers

Thanks Mikey, I did check this, and yes, that may be the case.  We completed a re-index, and I will do some additional testing and verify that the PF will work with this function and post a result to confirm the behavior is not repeating, this may be of help to other users.

I needed to make a clarification, on two points.  One, the post function IS called before the re-index in the PF.  Secondly, I have just completed a System level re-index due to other issues,  (I probably should have been more clear) but there may be a connection.  Once again I will make an update once a test is complete!

What order are your post-functions in?  Is this post-function being called before your re-index?

Chris, what version of JIRA and JSU are you using? Also, what is the custom field type that you are trying to update?

This is Jira 6.38 with JSU of 1,4.9. The function was "Update Issue Custom Field" to %%CURRENT_DATETIME%%. (i.e., now). I'm thinking this may be brought on by the need for a system reindex, but this could be a need to update to 1.4.10. So far following a system reindex, the error has not reappeared in the environment. Thank you.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Service Desk

Wy are we still using email for Service Desk workflows?

...attest to the experience of an urgent approval that gets lost in the boss’s inbox and requires that special “Please Approve” email or text message. In an age where we have distributed teams...

114 views 0 2
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you