You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 35 Next »

On this page

Use case

To keep parent issues and sub-tasks in sync it is often useful to automatically overwrite field values of sub-tasks with their corresponding values of the parent issue.

In our use case we want to automatically update two fields with their parent values:

  • Priority
  • Description

 Issue Created event

Create a new rule and name it appropriately.

Providing a description will help you to identify what the rule does but this step is optional.

Add a trigger and choose Issue Event → Issue Created

No further configuration needed. The automation rule is triggered every time an issue is being created.

 Create Issue action

Issues to be created*

Choose Multiple issues

Parser Expression*

3

Type 3 and change the parsing mode to Date/Mathematical

Issue type*: Choose Sub-task

Parent issue*: 

Choose Trigger issue

Summary*

Use the following parser expression:

getMatchingValue(^,[1,2,3],
["Documentation","Marketplace","Newsletter"])


Description*

Use the following parser expression:

getMatchingValue(^,[1,2,3],
["Issue for creating the documentation for the feature",
"Issue for updating the marketplace presence for the app",
"Issue for creating a newsletter for the feature"])

Click on add, and then activate the rule by clicking on the activate rule button 


Screencast

This is how the configuration above should look on your screen





Related examples



If you still have questions regarding this example or others, feel free to refer to our support team.