Currently we have approval steps that are setting the approval by a Custom Field.
However, sometimes that approver needs changed (they are on vacation, they were fired, they moved to a new position etc.). When we change the custom field that the approver is based upon we want the approval field to update accordingly.
This is not the behavoir. The custom field updates through an edit, but the approval field does not. We tried to add a transition called "Replace Approver" that attempts to write the new value to the Approval field, using the same logic as the Approval in the workflow.
This transition has two post-conditions:
"The value(s) of the Jira User attribute of the objects selected in the Approver field are assigned to the Approvals field"
as well as
"The value(s) of the Jira User attribute of the objects selected in the Approver field are assigned to the Approvers field"
When the transition occurs, nothing happens to the Approval field but the Approver field is updated with the Jira User name of the person selected in the custom field that the approvers is based upon.
Completely stuck on this one.