Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Unable to read bamboo API custom variable send from JIRA automation

PR
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 21, 2020

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

0 votes
nil
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 23, 2022

Any update on this . how you resolved this ?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events