Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

the Automation rule does not work correctly

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.Screenshot_2.jpgScreenshot_3.jpg

2 answers

1 accepted

1 vote
Answer accepted

Hello!

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.

Screen Shot 2020-11-02 at 1.19.59 PM.png

Thank you so much, I added this step to the rule and now it works exactly as intended!

Glad to hear that it worked for you!

Like Santens likes this

Hi

You must change to Copy from parent operation to act like what you want.

 

 image.png

This does not affect the result in my particular case.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS

Community Events

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

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you