Approval by component lead
- Antonella Capalbo
How to implement an approval by component lead?
In particular I need to receive distinct approvals from all Component Leads depending by the Issue's selected Components.
How to implement the customer scenario
Step 1 - Create the User picker custom field (multiple users) that will be filled with the Component Leads depending by the Issue's selected Components
If you want to use an existing custom field, go to the next step.
You can review instruction to create a custom field on the related Atlassian documentation.
You do not need to add this custom field to any Screen and you do not need to specify any Context.
Step 2 - Create the Approval configuration to identify approvers
You can update an existing Approval Single Property or create a new one.
- Navigate Add-ons → HERZUM APPROVAL →Approvals.
- Click the Add Approval button.
- Fill the Add Approval Configuration form
Fill the User Picker Field All by selecting the User Picker custom field
- Click
- Specify the expression to populate the custom field
This configuration allows to consider All available Project Components.
You are able to specify the Components to consider using the tags <component-leads></component-leads>.
E.g. <component-leads> Billing Services, Data Center Services, Webstore Purchasing Services</component-leads> - You are able test the expression on an issue in order to check its correctness
- Save the Expression
- Save the Approval configuration
You can update an existing Approval Single Property by specifying the expression to populate the user picker custom field.
- Click
- Specify the expression to populate the custom field
- Save the Expression
- Save the Approval configuration
You can expect that this updated setting is active on any issue that have not already moved in the status requiring this approval.
Case of issue that are already waiting this approval, the updated setting becomes active on loading the issue or running an Approval Re-indexing.
Step 3 - Create the Approval Mapping configuration
You can update an existing Approval Mapping or create a new one.
How it works
Assuming to have the following Component Leads for a Project.
When the issue moves in the Status configured to request the Approvals, the user picker custom field is filled with the Component Leads of the Component that have been selected on the issue.
It causes that, for each user in the picker field, a distinct approval shows up in the Approvals panel.
In this section
Related Documentation
Here you can find some links to our customer documentation relating to the configuration screens addressed in this page:
Other examples for Auto populate user picker field based on expression configurations
- Distinct Approvals to users in a group
- Combine user picker field and groups to come up with a single list of valid approvers
Still need help?
We would love to help.