update custom fileld using JIRA Suite Utilities addon

I have post function in my workflow where i'm setting date time field to %%CURRENT_DATETIME%%

However it is setting original value and new value in "All" tab as same i.e. new value

This field is on screen which opens on transition of an issue.

2 answers

1 accepted

I was doing one mistake. I was updating that field after transition. It shoud have been before transition happens.

0 vote

I'm sorry, what's the problem here? You set a value in the field using a post-function, and it updates the field and the issue history. What's wrong with that?

it is forgetting orginal value, it is setting orginal and new value to new value

Also I noticed, it does not update with current value.

e.g. I updated field at 4:00 PM 1st time

2nd time at 4:05, it shows 4:00 PM as time

3rd time at 4:10, it shows 4:05 as time

No, I still don't understand. You are running a function to set a value, and then complaining that the value is changed as it should be?

This is not making any sense. You're telling me fields that you are changing are changing but not changing at the same time

Please, step back, explain EXACTLY what you are doing, and EXACTLY what you are seeing. Don't guess at what else might be useful or other symptoms, just explain the absolute basics of the problem.

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
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

757 views 2 19
Join discussion

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