You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I have a similar problem to this question: https://community.atlassian.com/t5/Jira-questions/Pulling-date-in-string-with-REGEX-from-Description-trying-to/qaq-p/2415519
My date field is in the middle of the Description. It will be prepended with "Expected start date/effective date". This is what it looks like:
Employee ID Number: N/A (Employee is a new-hire/rehire)
Expected start date/effective date: 2023-10-02
Is this a: N/A
This is my regular expression:
(?<=Expected start date\/effective date:\W*)(\d+[-]\d+[-]\d+)
here's where I want to put it:
{{issue.description.match(“(?<=Expected start date\/effective date:\W*)(\d+[-]\d+[-]\d+)")}}
Putting it in an automation doesn't catch it. Regex testers tell me the regular expression is good. What am I missing?
Please recall the match() function documentation about regular expressions says the "underlying implementation is based on Java's Pattern class", but it does not say what it actually does (and does not) support: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/#match--
My recommendations are:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.