In the project I created a lot of automation rules where custom fields should be edited when creating a task trigger. In the next steps a subtask should be created and the custom fields should be copied from the main task. However, the subtask is created but the fields are not copied. Do not understand why.
This issue actually makes a lot of sense to me. Basically, in order to save on processing power, the automation rule will preload data from the issue, so it'll fetch the summary, components, ect when the execution rule will trigger. When you modify it using the Edit Issue action, and then try to copy the values from the current issue, it'll use what it already has loaded, which will be the original value.
To get the updated values, you need to add an action in between the Edit Issue fields action and the create new issue action. This action is called Re-fetch issue data. This will force Jira to re fetch the data, and will now use the values that you just set with the "Edit Issue" action.
This is just a quick example which I whipped up to illustrate what it looks like.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event