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
4,359,846
Community Members
 
Community Events
168
Community Groups

Unable to read bamboo API custom variable send from JIRA automation

Hi,

I have an JIRA automation which triggers my bamboo build when an issue is created.I am trying to pass a smart value {{issue.summary.match}} to my bamboo plan.

But when i try to print the value in bamboo it's empty.

My config below:

JIRA Automation web request details:
Content-Type:application/x-www-form-urlencoded 

Authorization:xxxxx

HTTP Methos:POST

Webhook body:Custom data

Custom data:

stage:Job1
executeAllStages:1
bamboo.variable.var={{issue.summary.match(<myregex)}}

 

NOTE:I tried logging the value for my smartvalue and it does print the expected output.

I referred to https://docs.atlassian.com/atlassian-bamboo/REST/7.0.4/#d2e1239 .

Can anyone help resolve this issue?

1 answer

Any update on this . how you resolved this ?

Suggest an answer

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

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

302 views 0 7
Read article

Atlassian Community Events