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

Create / Clone issue(s) (JMWE app) - Not copying comments

Edited

Hi Community,

I noticed that my current JMWE app is not copying comments (with the attachment link) when the post-function executes. Please note that this post-function is right after creating the issue. Is there a way I can do a groovy constant or expression to copy the attachments in the comments as a link? Thank you!

 

Screenshot 2023-11-09 155034.pngScreenshot 2023-11-09 155233.pngScreenshot 2023-11-09 155426.png

4 answers

0 votes
Stefaan Boes
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.
Nov 10, 2023

Thank you, but this is Cloud only and we're on Data Center.

0 votes
David Fischer _Appfire_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 09, 2023

Hi @Ivan Torres-Candelaria 

I'm not sure I understand where the comments can come from on the original issue, since it is being created (you placed the Create Issue(s) post function on a Create transition. Can you elaborate on how the comments and attachments are added to the original issue during its creation?

So when the ticket is created and attachments are required, there should be a comment with the link to the attachments in them. The comments with that attachment link are not being copied into the clones.

David Fischer _Appfire_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 10, 2023

Is this Jira Service Management? Are you talking about tickets created on the support portal?

Yes, this is JSM and the ticket is created in the portal and then that created duplicates for each area that has to approved (only in cloud theres the ability to actually select group of approvers and only need one).

David Fischer _Appfire_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 10, 2023

Judging from your reply to Joseph, the attachments are being copied to the issue clone, but the comment is not copied, correct? But I just don't understand where the comment is coming from, since the original issue (not the clone) was just created, and you cannot create an issue with a comment. So my guess is that the issue is first created (by JSM), and the comment is added after the issue is created, and thus after the Create transition and its post-functions run.

But it was working before, that's the strange part. How can I then add a delay or allow the system to actually create that comment with the link?

0 votes
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 09, 2023 • edited

@Ivan Torres-Candelaria -

This is interesting as the post-function calls seem to be properly setup.  Do you know if the original case's attachments and comments were added to the issue after it was created already?

Please advise.

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

Hi @Joseph Chung Yin

The comments and attachments are in the ticket before the clone was created. The clone has the attachments but not the comment with the attachment link for customers (portal) viewers and they require it in order to approve.

Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 10, 2023

@Ivan Torres-Candelaria -

Thanks for your updates.  Based on your latest reply to @David Fischer _Appfire_ , I agreed with David that one cannot add comment to an JSM issue during the creation process of the original ticket.  The comment must been added after the issue was created.

My only option for you is to create your clone issues in another status transition's post function call.

Example - Instead of firing post-functions calls for cloning the issues action at "Create" transition, you can add a new WF status where you can auto promote your issue into.  At this transition, you will call your post-function for the issue cloning actions.  This way, by the time the transition is executed, you should have both attachments/comments to the original issues done/capture already.

Hope this helps.

Best, Joseph

I forgot to include pictures! Please excuse me:

Screenshot 2023-11-09 155034.pngScreenshot 2023-11-09 155233.pngScreenshot 2023-11-09 155426.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.20.10
TAGS
AUG Leaders

Atlassian Community Events