Forums

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

Update on transition ( bob swift ) need to update summary with multiple fields .

siva
Contributor
November 21, 2018

in update on transition , 

i have updated that summary will be filled with ticket no, case id, username etc,

they are differentiated with a "," ( ticket no , case id , username)

if case id is not available i get ( ticket no ,, username )

how do i remove the coma's when one of the values is missing.

i need the output as ( ticket no , username )

1 answer

0 votes
Reshma Begum {Appfire}
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.
December 13, 2018

Hi @siva,

To remove the double commas from summary field, you can add another post function using Update on Transition with RegEx. Updating the transition with below given code in your summary field will remove double commas and replace with a single comma.

%set_regex_(.*),{2,}(.*)% %function_findReplace('%original_summary%', '$1,$2')%

Please see below screenshot for reference.

Screen Shot 2018-12-14 at 1.10.46 PM.png

 

Hope this helps.

 

Thanks,

Reshma

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events