Update your custom field value on transition?
This guide explains how to recalculate the display value of an object custom field (select list or read-only field) during a transition defined in a Jira workflow.
This feature is designed to update the value of specific custom fields during a workflow transition. It ensures that the displayed data is recalculated based on the latest information from an external datasource.
Prerequisites
Ensure you have an object type custom field configured in Elements Connect.
Notes
Post-function update works exclusively with custom fields (not with connected items).
It is applicable only to object type custom fields (snapshot fields can’t be updated via a post-function).
It is not compatible with the "live field" option, which updates field values on display view action.
Configuration steps
1. Configure the Custom Field
Ensure you have an object type custom field configured in Elements Connect.
2. Define the Workflow Transition
Go to your Jira workflow configuration (Project settings > Workflow) and identify the transition during which you want the custom field to be updated.
3. Add the Post Function
Use the Elements Connect plugin to add a dedicated post function to the desired workflow transition. This post function will trigger the recalculation of the custom field value.
Adding a Post Function
Navigate to your Jira workflow.
Select the transition where you want the custom field update to occur.
Click on "Post Functions" and select "Add post function".
Choose the Elements Connect post function designed for updating custom fields.
Configure the post function according to your needs. All eligible fields will be displayed here.
For more detailed instructions on configuring Jira post functions, refer to the Jira post function documentation.
By following these steps, you can ensure that your custom field values are accurately recalculated during specific transitions in your Jira workflow, providing up-to-date information for better decision-making and data management.