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

adding a linkedissuekey in the summary title

Edited

Hello Community,

I created it using the "Create / Clone issue(s) (JMWE app)" post function.

I want to add an issue linked key in the summary title.

Sample; " CD-137 - Ön Analiz Alt Görevi - deneme livaneli 1 - MD-102 "

using which parameters can I add an issue linkedkey in summary

thank you 🙏

2.png

1.png

 

2 comments

Suprija Sirikonda _Appfire_
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.
Jun 09, 2021

Hi @serkan_sezer ,

As you have selected "Set field value to constant or Groovy Template" for the Summary field, the format should be <%=issue.getLinkedIssues()%>

<%=issue.get("issuekey")%> - Pre-Analysis Sub-task - <%=issue.get("summary")%> - <%=issue.getLinkedIssues()%>

issue.getLinkedIssues() returns the list of all issues linked to the current issue through any link type - it does not include system links such as Epic/Story, Parent/Sub-task and Portfolio hierarchy.

To get issues linked through a specific link type, use : 

<%=issue.getLinkedIssues("link name")%>

Ex : <%=issue.getLinkedIssues("is blocked by")%>

Hope this helps!

Regards,

Suprija

Like serkan_sezer likes this

@Suprija Sirikonda _Appfire_ thank you so much. My problem is solved :)

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.
Jun 09, 2021

Hi @serkan_sezer ,

are you trying to include the issue key of the new issue in its own Summary? You can't do that in the template for the Summary field, since when that's evaluated, the new issue doesn't exist yet and thus doesn't have a key...

You need to add the new issue's key to the summary after it has been created. For that, you can use the "Post-creation script" option, with this script:

newIssue.setFieldValue("summary", issue.get("summary") + newIssue.key)
Like serkan_sezer likes this

@David Fischer _Appfire_

thank you so much, I solved the problem on the first try :)

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events