On this page


Features used to implement the example



Example: Transition an issue automatically depending on the value of a field

We have a field called “Change Type”. At issue creation, we want to check the value of the field, and if the value is “Preapproved” or “Planned”, we want to move the issue through the workflow into “Approved” status.

That behavior can be implemented inserting post-function Set a field as a function of other fields at transition "Create Issue" using the following configuration:


Setting rules used are: 

(Preapproved)Approved

(Planned)Approved

Once configured, transition "Create Issue" will look like this:



IMPORTANT: The solution described requires the existence of a transition from initial status of the workflow (usually "Open") and status "Approved", since this transition is used by the post-function to move the issue. Conditions and validators in the transition needs to be satisfied in order to being able to move the issue through the transition.



Other examples of that function

Related Usage Examples