I´m setting up templates in JETI using velocity templates and HTLM, i´d like to use regex capture groups to retieve data from custom files. But I´m not quite sure how to invoke regex capture group in Velocity/Java, i´ve seen plenty of examples on how to replace text and verify matches but I have yet to find or figure this out.
I can use this to retrive the customfiled data and present it to the user:
#set ($string =$!jetiFieldRenderer.renderCustomField($issue, "customfield_10238").toLowerCase())
Here is what I think i need to do in JAVA but I´m not sure how to make velocity do it and present it.
Pattern pattern = Pattern.compile("\[(.*)\(.*\)\]");
Matcher matcher = pattern.matcher($string);
Good morning, After a long weekend cleaning up, I am still in the cleanup mode 😊. I am curious to know: When do you feel the urgency to cleanup your Atlassian Tools? How many times do y...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs