This is a simple problem however I am having a tough time on the last part where I need to copy the comment from the parent issue to the subtask. I am currently using a hosted Jira service and Jira automation rule to achieve this task.
Task to Achieve:
If issue is commented
If the user is "AAAAA"
For Current Issue:
Check if the issue contains a subtask with the title "Comments from AAAA"
If there is no subtask with name "Comments from AAAA"
Create subtask with name "Comments from AAAA"
For Current Issue:
If the subtask exists with the name "Comments from AAAA"
Copy the comment from parent issue to this subtask
Delete comment from parent
Progress So Far:
1. I was able to create Subtasks under my Current Issue with the title "Comments from AAAA"
2I am not able to copy the comment from parent issue to this subtask and also delete the comment from parent issue.
This is what my automation looks like
Hi Disha,
Are you on cloud? Automation has a branch option, that can be used to update sub-tasks.
https://support.atlassian.com/cloud-automation/docs/jira-automation-branches/
Hope this helps.
Regards
Mark
Hello Mark,
I am using a Jira hosted instance and not a cloud instance. I am not sure if Jira automation branches are available on those ones.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Disha,
Apologies, I missed that line, and I don't have experience on Hosted automation.
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.