Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Prepend static text to Summary

Pete P
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.
August 27, 2021

I need to prepend some descriptive text before the Summary upon issue submit.  Is there a script I can run or post function?

Ex. - my descriptive text is "Oracle: "

User enters summary
Problem with my account

I want to update to
Oracle: Problem with my account

2 answers

2 accepted

1 vote
Answer accepted
PD Sheehan
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.
August 27, 2021

That is best done in a postfunction in the create transition.

Simply add a custom scripted postfunction with a single line of code:

issue.summary = "Oracle: " + issue.summary
0 votes
Answer accepted
Pete P
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.
August 30, 2021

Thanks @PD Sheehan  

Suggest an answer

Log in or Sign up to answer