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

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,414,280
Community Members
 
Community Events
170
Community Groups

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

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 :)

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

Atlassian Community Events