Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,401
Community Members
 
Community Events
165
Community Groups

When a comment has been added copy it to linked issue based on accountId (Jira Automation)

Edited

I wonder how I would tackle this issue.

Backstory:
I'm currently automating a Employee Onboarding function where in project HR the issue type Employee onboarding is used. This issue type rolls out different tasks to different projects. For example, when a new employee is hired create an issue for IT to roll out the hardware for this new hire.

The problem:
I got asked a question if it was possible to communicate from (in this case) the HR issue to the IT issue based on the accountId. Note that HR won't able to access the IT project. So what I thought is that when the "@mention" is used in a comment in the Employee onboarding issue type, copy the comment to the linked issue if it matches the accountId for the assignee on that linked issue. But I'm not really finding a way to do that right now.

 

What I have made up until now is this:

Screenshot%20on%202022-05-24%20at%2009-23-40.png

I also tried it another way for the linked issues, this works but I want the @mention to work with the accountId of the assignee, because a employee onboarding has different tasks and I don't want that when someone from HR says: "@Damian is this almost finished?", that someone in a different linked issue also sees this. This is the way that works but also copies the comment to all the other linked issues if the assignee = "accountId":

Annotation%20on%202022-05-24%20at%2009-27-08.png

If someone could help me with this or maybe shed some new light for this issue, I would be very grateful!

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
Community showcase
Published in Jira Service Management

Coming Soon: Insight Changing to Assets

The 2020 acquisition of Mindville added powerful asset and configuration management capabilities to Jira Service Management in the form of Insight. Following the completion of that integration, custo...

284 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you