Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Automation for Jira - How to filter linked issues specific to the project and add as a comment?

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.

 

 

 

1 answer

1 accepted

0 votes
Answer accepted
Darryl Lee
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 13, 2023

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.

Darryl Lee
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 13, 2023

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

Like Sami Ahmed Shaik likes this

@Darryl Lee ,

Thanks for the quick response.

Exactly, link to BRP was added before the transition in some other previous status.

 

Regards,

Sami S.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events