Using a post function to set Summary field to a concatenation of two other fields

What would I enter into the 'Field Value' when using a post function to set the simple Summary field to a concatenation of two other fields?

2 answers

1 accepted

0 votes
Accepted answer

Hi Michael -

To accomplish something like this, you'll likely need a scripting app to help you out like Automation for Jira, Script Runner, or Power Scripts.

With Power Scripts, an example might be something like:

summary = "["+priority+"] - "+assignee;

 When running this script from a post-function, the summary will be updated to look like (for example):

[Critical] - jiraUser

Thanks much.  Just wanted to be sure that it can't be done without a Plug-in.

0 votes

Please bear in mind that however you do this, you will annoy your users, as you will be destroying the summary they entered on creation.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

443 views 2 5
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you