Hi, I want to add a comment to other sub-tasks(with same parent), when I wrote a comment on the trigger issue(issuetype : subtask) which contains '@noti_sub' text.
1. I wonder if I wrote the 'If Condition' wrong.
=> {{triggerIssue.key}} = parent
2. I wonder if I do wrong with the BRANCH RULE setting.
I want to notify to other subtasks, which have same parent with the trigger issue, so I set BRANCH RULE/RELATED ISSUE to "SUB-TASK".
Here's the rule I set.
WHEN : have a comment on the issue
IF : have a same issuetype ("subtask")
AND : compare two values ( {{comment.body}} contains '@noti_sub')
BRANCH_RULE (subtask)
IF : compare two values ( parent = {{triggerIssue.key}} )
THEN : add a comment on the issue
Welcome to the Atlassian Community !!
What comment you need to add to the subtask?
Do you want to copy all comment of parent issue to subtask?
Thanks,
Sachin
No..
The understanding of 'Do you want to copy all comment of parent issue to subtask?' is totally wrong...
I just want to notify to other subtasks, which are the same level of 'comment-added-subtask' and same children of story ticket(parent issue).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What do you mean by notify to other subtask?
As per your automation rule mentioned above you need to add a comment to the subtask but you didn't mention what need to add in the comment?
Also you have some condition parent = {{triggerIssue.key}} & {{comment.body}} contains '@noti_sub') - can you explain what you need to achieve here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. If someone add a comment to the subtask "@noti_sub I've done my working."
2. Then, through the JIRA Automation,
"Related subtask is done." -> this comment will be add on the other subtasks.
+) "@noti_sub " is a rule name of adding a comment to subtasks, and it's not a reserved word. This could be anyting like "#subtask_alarm" or "%$#" etc...
+)
trigger issue : originally comment-added subtask ticket.
And triggerissue's parent key is same as other subtasks' parent key because they are all under the same story ticket!
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.