Track rejected definition IDs in issue properties
Description
Store rejected approval definitions in the issue properties under rejectedDefinitionIds
.
This should complement definitionIds
and approvedDefinitionIds
to allow tracking of approvals that have been explicitly rejected.
Accepted criteria
A new issue property
rejectedDefinitionIds
must be added.When an approval is rejected, its definition ID should be added to
rejectedDefinitionIds
.`rejectedDefinitionIds` should persist even if the approval is resubmitted.
Remove an approval ID from `rejectedDefinitionIds` only when the approval is deleted and no longer available in the UI.
Ensure
rejectedDefinitionIds
is an array that accumulates multiple rejected approvals.Maintain consistency with existing
definitionIds
andapprovedDefinitionIds
structures.