It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to copy comments of the linked issues in two different projects Edited

Project 1 is a Service Desk where internal non tech teams like customer support, ops, etc raise tickets and Project 2 is for tech and product (used for managing sprints, backlogs, etc)

I was able to post issues from project 1 to project 2 with the automation option that service desk has. However Once posted on project 2 and tech team resolves it and updates in the comments section, we want to post those comments back to project 1 which is a service desk. 

Has anyone done any automation which involves copying comments of the linked issues across projects? Would really appreciate it if someone can guide me here. 

PS: We use cloud jira services

1 answer

0 votes
Tansu Akdeniz Community Leader Dec 27, 2019

Hi @Piyush Dinde 

There are lots of ways to copy a comment from project to project.

1) Script runner add-on:

  • Go to Project 2 workflow -> related transition -> Add post-function -> Script post-function ->  Adds a comment to linked issues when this issue is transitioned

OR

  • Add a custom script and write your own code.

2) Jira Suite Utilities (JSU) add-on; there is a Copy Value From Other Field (JSU) function in post-functions.

3) JMWE add-on, there is Comment linked issues (JMWE add-on) function.

4) You create automations with Automation for Jira add-on.

Also, please check this topics.

Regards

Hi @Tansu Akdeniz 

I used the method 4. Also kindly note that I have written this trigger on project 2. 

Please see the screenshot attached. This rule set doesn't seem to work. I have tried editing this multiple times. Could you tell me what's wrong here? Automation Scene.PNG

Tansu Akdeniz Community Leader Dec 29, 2019

As I can see from the screenshot, trigger listens all issue comments. Then, you filter by Auto_ServiceDesk issue label. Also it works for "clones" link type.

Can you please verify that both conditions match? 

  • Maybe issue is related with "is cloned by" inward type?
  • Label matches?

Also, does the rule actor have permission to comment on service desk issue?

There is an audit log section in screenshot. Please re-produce the issue and have a look.

Suggest an answer

Log in or Sign up to answer
TAGS

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