Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to auto trigger comments from one project to the linked project

Lakshmi Kumari
Contributor
February 4, 2024

Hi,

I manage multiple projects hence I am supposed to create external (Service desk projects) and internal projects which needs to be linked to each other.. I created an automation rule to auto trigger the comments from service desk project to the linked project (internal project) but it's not working. Attached is the snapshot for your reference that shows the details of rules. Please review and confirm the detailed steps on auto trigger of comments from external to internal project..

I have already linked the Issue type triggers and it's working but auto trigger comment is not successful.

Screenshot 2024-02-04 at 2.51.21 PM.pngScreenshot 2024-02-04 at 2.52.22 PM.png

Please help.

Regards,

Lakshmi

4 answers

3 accepted

2 votes
Answer accepted
GNarsimhagowda - Empyra
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2024

Hi @Lakshmi Kumari , 

 

I recreated the same automation as you suggested above it is working for me for reference i have attached the screenshot, I think you are adding internal comment because when i tried adding the internal comment i got the same message in the audit log.2024-02-05_14h51_40.png

GNarsimhagowda - Empyra
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2024

The same rule is working for me 

 

 

 

2024-02-05_15h22_07.png2024-02-05_15h22_17.png2024-02-05_15h22_58.png

Like Lakshmi Kumari likes this
GNarsimhagowda - Empyra
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2024

And try unticking the checkbox in the action "comment" That might be the problem!.

 

2024-02-05_15h27_23.png

Like Lakshmi Kumari likes this
Lakshmi Kumari
Contributor
February 5, 2024

Hi,

I tried deleting the 2nd condition that was updated in "IF Condition" rule section and checked the "prevent duplicates" option, it's working now... JIRA has come up with lot of updates which has affected the conditions now and back then when i created old projects...

Thanks a lot of helping me out -)

Regards,

Lakshmi

 

1 vote
Answer accepted
GNarsimhagowda - Empyra
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2024

Hi @Lakshmi Kumari ,

 

Try creating the rule in global automation,The rule is working for me instead of the "triggerissue.comment" use this "{{triggerIssue.comment.last.body}}", This will copy the last comment from the issue instead of copying all the comments everytime the automation runs.

If you are facing the issue upload the screen shot of the audit log that will be helpful to see the rootcause.

 

Thanks

Lakshmi Kumari
Contributor
February 4, 2024

Thank you Narsimha.. I will try this option and update you in a while.

 

Cheers,

Lakshmi

Lakshmi Kumari
Contributor
February 5, 2024

Hi Narasimha,

 

I made the changes as per your suggestion but its still not working.. Comment is still not reflecting on the linked ticket.. Attached is the snpashot for your reference.

Screenshot 2024-02-05 at 2.11.57 PM.pngScreenshot 2024-02-05 at 2.15.52 PM.pngScreenshot 2024-02-05 at 2.16.05 PM.png

 

Please help.

Regards,

Lakshmi

GNarsimhagowda - Empyra
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2024

Hi can you elaborate the If Block and upload the screenshot.

 

Thanks

GNarsimhagowda - Empyra
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2024

I think the problem is in the "If" block in particular "comment.internal" try removing it and check the rule will work fine! 

Are you trying to add Internal comments to the Software project?

Lakshmi Kumari
Contributor
February 5, 2024

Hi,

 

I have attached the snapshot of "If Block"...

IH is the main project (service desk for customers) and CRM is internal project meant for our staff/Dev team.. Whatever comments are updated in "Internal note" comment section in "IH" Project  (main project) needs to be automatically reflecting in CRM project too (Dev team - internal staff).. Issue type, summary description and attachment is getting triggered automatically from IH to CRM project but not comments..

Let me know if you want me to elaborate more.

Screenshot 2024-02-05 at 2.46.31 PM.pngScreenshot 2024-02-05 at 2.46.44 PM.png

GNarsimhagowda - Empyra
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2024

Ok try just changing the "comment.internal" to "True" and it will work as expected and i have just checked it and it is working

0 votes
Answer accepted
Lakshmi Kumari
Contributor
February 4, 2024

Folks, any suggestions on the above query ?

0 votes
GNarsimhagowda - Empyra
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2024

Ok just changing the "comment.internal" to "True"  will work as expected and i have just recreated it and it is working!.

Lakshmi Kumari
Contributor
February 5, 2024

Not working... -(( 

I have attached few snapshots for your reference.

Screenshot 2024-02-05 at 3.21.13 PM.png

Screenshot 2024-02-05 at 3.13.56 PM.pngScreenshot 2024-02-05 at 3.14.29 PM.png

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events