The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Regx for short description

Preeti Yadav
April 16, 2023

Hi Team,

We are creating Jira ticket through SNOW.

This is the Short Description:

"INC3133754: GO [DISY] Abnahme R70 UAT [F22_Miro_Test: Test TEST TEST incident for Testing]"

This is the Regx : matches = (body =~ /(?<=INC\d{7})(.*)(?<=\:\s)(.*)/);

But Middle part between both the ":"  which is (GO [DISY] Abnahme R70 UAT [F22_Miro_Test) is not coming while ticket is created. Only end part is coming.

Here is the screenshot.

MicrosoftTeams-image (24).png

Can you please give me the proper Regx or guide me what I am doing wrong.

 

Thanks in advance.

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.