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?
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.
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.
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.
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
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...
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