I have a few long and elaborate automation rules. I would like to move several components from one automation rule to another. What is the best way to do this?
@Alexander Wegener I don't think you can move only specific components to existing rules from the UI. If copying a rule is too cumbersome from the UI then may be you can try export the rule as JSON and modify the rule with additional components before importing it back.
Each component will have any existing id which you can leave as it because it will be given a new id in the new rule.
For example the following component will create 2 sub-tasks, when you copy it to another rule's json and reimport it then this new component will be appended. Of course it will only work when the required entities like issue type id are already there.
{
"id": "29676130",
"component": "ACTION",
"parentId": null,
"conditionParentId": null,
"schemaVersion": 1,
"type": "jira.issue.create.subtasks",
"value": {
"subtasks": [
{
"id": "_subid_1608309578519",
"type": "10002",
"summary": "Created by manual trigger"
},
{
"id": "_subid_1608309611356",
"type": "10002",
"summary": "Created by manual trigger 2"
}
]
},
"children": [],
"conditions": []
}
Give it a try.
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could copy the whole rule, then change the bits you need.
Hope that helps,
Regards, Liam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, but unfortunately, that doesn't help. I have several rules already. I want to move the components from one rule into another existing rule, that already has other components.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.