Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hello there,
I hope you are doing well.
Consider the following scenario:
Issue Key: DMM-123
Linked Issues:
Related:
MDM-243
MCM-341
Related To:
DMM-451
BRP-2234
Requirement:
I would like to know using "Automation for Jira", how to add the following comment to an issue that should filter among the list of different linked issues.
Dear Reporter,
For further reference, you track the request from BRP-2234.
Regards,
Sami S.
Hi @Sami Ahmed Shaik - so you only want to add this comment for BRP project links?
If so, then I would do something like:
Trigger
When: Issue linked
Condition
Advanced compare condition:
{{destinationIssue.project}} equals BRP
Action
Add comment
Dear @Darryl Lee ,
Thanks for the quick response and rule details.
How can we add the same scenario using "Issue Transition" rule? Specifically, during the transition, I want the rule to filter the linked issues and select the BRP related issue among the linked issue and add the same to the comment.
Regards,
Sami S.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does this transition require you to add a link to BRP?
If so, then the rule will work fine.
Or are you wanting to add this comment only during this transition, if the link to BRP was added outside of the transition?
And is the transition for BRP tickets or other projects?
Assuming this is a transition for the DMM project (from your initial example), you'll need to do put the steps above inside of a branch:
Add Branch
For linked issues
Condition
Advanced compare condition:
{{destinationIssue.project}} equals BRP
Action
Add comment
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the quick response.
Exactly, link to BRP was added before the transition in some other previous status.
Regards,
Sami S.
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.