Use case
In this use case, we will create an issue after executing a transition. The summary of this newly created issue will be set from the transition screen.
⚒️ Configuration
Add a screen where you can change the summary of the current issue to the transition of your choice.
Add a Create issue post function to the workflow transition you where you added the screen.
Issues to be created
Mode
Choose Single issue
Issue type
Choose Selected issue type → Task
Summary
Enter the following expression with parsing mode set to Basic text
%{issue.summary}
Add a Update or copy field values post function to the same transition as the Create issue post function.
This post function must be added after the Jira post function Creates issue originally, that is, in the second position.
Target issue
Choose Current issue
Field
Choose Summary
Value
In the popup, choose the value Set field value manually (parser expression)
Expression
Set the expression editor to Advanced mode and use the following expression:
previousValue(%{issue.summary})
User
Choose Current user