I'm trying to pick from json string the content of the nearest key "name" after every occurance of substring Epic Link in given json string.
I've read the ansvers regarding extracting json values fom oracle. When you just need content of the known key, that's not so challenging, but my case is different:
- I need to pick the values of key "name" if and only if that key is the first appearance of key "name" after the appearance of substring Epic Link in json body
- if there is more than one appearance of substring Epic Link in sample I need to exctract the content first key "name" for each apperance of substring Epic Link
regexp
(?<=\bEpic Link\s)*"name":"([^"]*)".*
works on testing site but returns whole rest of the string after tag name first occured after substring when i try it in Oracle.
my sample data are
[{"module":"com.almworks.jira.structure:filter-jql","params":{"showSubItems":false,"jql":"filter = \"JDoc_все фичи\" and issue not in havingLinkedIssuesFromFilter(\"JDoc_все фичи\",\"Epic Link\", outward)","level":1,"keepNonIssues":false},"key":"filter","quick":{"id":"1321-1","name":"Features without links"}},{"module":"com.almworks.jira.structure:filter-jql","params":{"showSubItems":false,"jql":"(filter = \"JDoc_все задачи\" and issue not in linkedIssuesFromFilter(\"JDoc_все фичи\"))","level":1,"keepNonIssues":false},"key":"filter","quick":{"id":"1321-2","name":"Стори без фичи"}},{"module":"com.almworks.jira.structure:grouper-field","params":{"fieldId":"status"},"key":"grouper","quick":{"id":"1321-4","name":"By Status"}}][{"module":"com.almworks.jira.structure:filter-jql","params":{"showSubItems":false,"jql":"filter = \"JDoc_все фичи\" and issue not in havingLinkedIssuesFromFilter(\"JDoc_все фичи\",\"Epic Link\", outward)","level":1,"keepNonIssues":false},"key":"filter","quick":{"id":"1321-1","name":"Another Features without links"}},{"module":"com.almworks.jira.structure:filter-jql","params":{"showSubItems":false,"jql":"(filter = \"JDoc_все задачи\" and issue not in linkedIssuesFromFilter(\"JDoc_все фичи\"))","level":1,"keepNonIssues":false},"key":"filter","quick":{"id":"1321-2","name":"Стори без фичи"}},{"module":"com.almworks.jira.structure:grouper-field","params":{"fieldId":"status"},"key":"grouper","quick":{"id":"1321-4","name":"By Status"}}]
and I expect
Features without links
and
Another Features without links
to be returned