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

0 votes
Accepted answer

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

0 votes

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,666 views 18 21
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