It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Updated field not accurate when copying during post function

Molly Favret May 01, 2014

I have a post function in my workflow that copies the value from the "Updated" system field to another time-date field called "Closed". I am doing this at several other points in the workflow to capture when the request is Acknowledged, Resolved, etc. It is working in all cases except for the Closed case. Instead of capturing the current time-date stamp, it is capturing the time-date stamp of the previous step. Basically, it does not appear to be refreshing. Can anyone advise on how to get this to update?

1 answer

1 accepted

0 votes
Answer accepted
Udo Brand May 01, 2014

Can you check the order of your post functions. It seems you doing the copy before the issue is updated.

Molly Favret May 01, 2014

What post function would update this field (update the issue)? I have the post functions in this case the same as the other examples where I am using this, so I'm pretty sure this is not the problem.

Udo Brand May 01, 2014

yes, "Update this is issue and set the status ..." or something like this.

If your order is correct it could be a permission problem. Can you edit closed issues? If not it will not work. In that case you would need to set that field to the current timestamp before that post function.

Molly Favret May 01, 2014

The post functions are in the correct order. I also have permission to edit closed issues. Here is a screenshot. Again, this is working correctly for other workflows so I'm not sure what is wrong in this case.

Udo Brand May 01, 2014

Well, I can't see your screenshot, unfortunately.

Molly Favret May 01, 2014

For some reason it is allowing me to add but is not showing up. The order is as follows:

Set issue status to the linked status of the destination workflow step

The field Closed will take the value from Updated

Assign to the reporter

Add a comment if entered during transition

Update change history for an issue and store the issue in the database

Re-index an issue to keep indexes in sync with the database

Fire an Issue Closed event

Udo Brand May 01, 2014

try and put

The field Closed will take the value from Updated

after

Update change history for an issue and store the issue in the database

Molly Favret May 01, 2014

This worked! Thanks!!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Off-topic

Disney Live Action Reboots: Are you for or against?

Happy Friday Everyone! Today marks the international release of Disney's live action version of the animated classic Aladdin. I know that this movie was met with some controversy of over cast...

139 views 19 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you