...
Go to Automation Rules → Create rule.
Select and configure trigger requirements → Save.
Select New component → New action → Set entity property.
Select “Issue” in the Entity type field.
Enter Advanced Link description according to the example:
assetlink_inward_4942
, where:assetlink_
is a fixed valueinward_
is the direction of the Advanced Link field to which it is required to link new relations4942
is the Advanced Link field’s ID number. To see the ID number go to Manage Apps → Advanced Links. Hover over the Advanced Link → find a URL in the lower left corner of the page with an ID number e.g.https://apps.stagil.com/sajc/relation/4942/outward
Enter Property value.
To add more Advanced Links to the existing use:
Code Block { "add": ["EIP-3", "EIP-4"] }
To set new Advanced Links instead of existing use:
Code Block { "set": ["EIP-3", "EIP-4"] }
To link issues that are mentioned in the comment by issue key use
Code Block { "add": ["{{comment.body}}"] }
It is important to make sure that the issue key remains in the text format. If the issue key is saved as an issue link, the automation rule will not be triggered.
...