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,555,397
Community Members
 
Community Events
184
Community Groups

Custom summary field value

Hello, 

I would like ask you for help. We have Jira Software (server version) with Jira Service Desk and with setted automation when public issue is created then automatically internal issue is also created. I would like to set custom summary value for created internal issue with post script function. Custom summary have to be in shape = customfield + public issue summary (something like: "SD13 - issue summary". How can I do this?

2 answers

1 accepted

1 vote
Answer accepted

I was able to fix it with JSU postfunction - Create A Linked Issue (JSU). I had to add new Sub-Function - Copy to New for Summary -> Summary and after that, I was able to use Copy to New for Key -> Summary.

image.pngFinal linked issue summary is in form:   SDTS - Create new account

SDTS - Issue Key from External Service Desk
- prepend separator
Create new account - Original summary which was cloned from External Service Desk to internal issue

1 vote
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 10, 2023

Hi @ipsadm 

You are creating the internal issue using automation for when the public issues is created? If so, then in your automation rule, set the Summary to:

{{triggerIssue.key}} - {{triggerIssue.summary}}

Iam using JSU postfunction called Create A Linked Issue (JSU) which create linked issue between public and internal project and copy some field value from public to internal issue. I would prefer postfunction to do that.

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 10, 2023

I see - I am not familiar with that add-on and what is available with the Create a Linked Issue function. You should check with the vendor to see if they have post functions as a part of the toolset or you will need another add-on like Automation for Jira or JMWE. 

In that plugin there is option to copy field value from origin to new issue with option to overwrite, append or prepend - but probably Iam doing something wrong, because its only working in overwrite mode...

image.png

image.png

Am I able to create new linked issue from public to internal project with copy some values from public issue to internal issue with setted custom summary and all these by Automation function in Jira?

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 10, 2023

I would think yes that you could do that. Try the Copy to New select the Summary from the source field to Summary field of the destination and use Append. 

Give that a try and see how it does. 

Sadly its not workign as I thought. Using that JSU postscript function everything is working fine, just that function Copy to New with Append function is not working. It will linked create issue, it will copy some field values from public to internal project but Copy to New (for Key -> Summary fields) with Append function is not working - it will overwrite (not append) the internal project Summary to Key copied from public project.

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 10, 2023

I would contact the vendor and ask them the intent of the Append function and how to solve. 

Okej, I will try to contact the vendor of plugin. Thank you.

Is there any application or something that can help me to create postfunction script? I found several scripts that are not exactly what Iam looking for, but maybe with little change they would be usable.

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 10, 2023

JMWE is an excellent (maybe the best) app for me to create post functions. 

Suggest an answer

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

Atlassian Community Events