Selecting issue ids via substring from webhook

Markus Jäger January 6, 2020

Hi Community,

I'm planning to collect all the release hooks from gitlab to extract the included issue references, to proceed the issues on the jira board to the status "ready for live test" after the release successfully passed.

I thought I could use automation for jira and collect the release hooks via the trigger "Webhook", but I don't see any posibility to collect more than one issue-id.

>>>>key in "{{#webhookData.object_attributes.commits.message.substringBetween("(#",")")"<<<<

Currently Im just able to select only one issue-id, any Idea how to loop through the commit array and parsing the commit messages by a substring?

Btw. Those references are mentioned in the title of the related commit-messages, to use it on jql I'll need to separate and join them to a string.

Thanks in advance (:

1 answer

0 votes
CQ March 13, 2024

use match instead,  it'll create an array from the regex

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events