Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Bamboo Pattern match labeling - How to ?



I have a automation test which run and create log file with all the passing and failing Jira's in it like REPORT-121 : PASSED or REPORT-122 : FAILED.

I want to scan the log file and pick all these and label the build with them.

So in Pattern match labeling i put below values
Regex = REPORT-/d+
Labels = \1

Error on label = The labels use the backreference "\1" but the REGEX contains only 0 capturing group(s).


How can i achieve this ?

1 answer

1 accepted

0 votes
Answer accepted

One of my co-worked helped me.

I needed to put that in the brackets like (REPORT-/d+)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

912 views 3 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you