Forums

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

Pull and Match using RegEx

Jay December 11, 2023

I am attempting to set up automation with our JSM. We have a third party that uses Service Now, so whenever they add a comment we end up with a new Jira ticket instead of a comment. 

The subject always contains:

"Comment Added to SIR########" where # is a number that correlates to our ticket number on their side. What I am attempting to do is when one of these comments get created, we can use RegEx to pull the SIR# and search for the initial ticket that was provided under the same SIR# where it can be linked and then closed as a comment. 

I've found the pull email using regex page on jira, which kind of tells me how to pull the data, but I don't know how to utilize that data in the next step of automation. Any help would be great.

Thank you in advance.

1 answer

1 accepted

0 votes
Answer accepted
Marc - Devoteam
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 12, 2023

HI @Jay 

Welcome to the community.

How is your integration between you and your 3rd party setup?

As I know SN has a very good integration from their end with Jira and new comments should not create new tickets at your end.

I think you should look with your 3rd party how the integration is set and how to improve this.

See SN documentation on their spoke to JSM

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events