update custom fileld using JIRA Suite Utilities addon

Paresh Gandhi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 13, 2014

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
Answer accepted
Paresh Gandhi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 14, 2014

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

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 13, 2014

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?

Paresh Gandhi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 13, 2014

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

Paresh Gandhi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 13, 2014

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

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 13, 2014

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?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 13, 2014

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