Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

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 🙏





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!



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


Log in or Sign up to comment
Community showcase
Published in Jira

⏰ Day in the life of a Jira Admin!

Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...

938 views 2 22
Read article

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