JIRA Suite Utilities :Not able to use %%CURRENT_DATETIME%% to update a cutom Field

Hello,

I need to update a custom field with the current date time on a workflow transition. For that I use, the plugin JIRA Suite Utilities.
I use the 'Update Issue Custom Field' post function. The custom Field is of type Date picker. On the custom field value, I use the following macros: %%CURRENT_DATETIME%% .
It doesn't work. At the transition, I have an error message (See attached screenshot).

If I use a custom field of type text field, then the field is update with the string :%%CURRENT_DATETIME%%

I am using JIRA version : 4.3.4
The plugin version is : 1.0.1

Thanks for your help.

3 answers

Are you sure? I'm getting the same behavior today. It's not exactly a complex process, so I don't know what I could be doing wrong.

I've added an Update Issue Custom Field post-function on a custom Date Time field using the %%CURRENT_DATETIME%% value. I tried putting the new post-funtion at various points along the 5 required post-functions, which just changes the point at which the system throws this error:

The JIRA server was contacted but has returned an error response. We are unsure of the result of this operation. Close this dialog and press refresh in your browser

We're using: JSU v1.4.7, JIRA v5.2.6 and JIRA Agile 6.3.1

UPDATE: Nevermind, found the reason here: https://jsutil.atlassian.net/browse/JSUTIL-196

"Please use version 1.3.5 of the plugin, more recent versions are only meant for JIRA 6.X"

I downgraded to 1.3.5 and it's working fine now...

hello Alexandre Vivien,

you use customfield of type Date Time and check the macro

this is fixed on JSU 1.2.4 version

check this

https://jsutil.atlassian.net/browse/JSUTIL-120

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

344 views 0 6
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