Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How does a regex works in Scriptrunner

Edited

Hello, I am currently working on a pre-hook for tags on scriptrunner that will force users to freeze there dependencies. I have a problem about that.

I did a regex that checks this situation :  .*requires\(\"[^\d|_|\-](\S)+/\[(\d)(\.\d)*\]
I did this regex using regex101.com based on a Java 8 flavor. The problem I have is that it seems that either scriptrunner does not understand this or it is that I don't know how to test my tags.

Is there someone that can help me please ?

1 answer

0 votes
Jeroen Poismans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 06, 2023

Hi there,

Do you have an Adaptavist account? They have a Script library where I found this script to user regex to check mail. With some change you should be able to get this to work on your regex:

https://library.adaptavist.com/entity/use-regex-to-find-emails-address

 

Regads,

Jeroen

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events