Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing ticket custom field (checkbox) value

Deleted user
March 22, 2023

Hi, 

I'm sending a web request from Jira to Azure to trigger a pipeline. In the web request I'm sending the issue key by simply using {{issue.key}}

I also want to send the value of the custom field "environment" which is a checkbox. The field have a value for the ticket I'm trying send. Note that I have two fields in my jira project as Environment. One field is a text field and the other is a checkbox. I want to access the checkbox field value. 


My request body is as follows:

{
"resources": {
"repositories": {
"self": { "refName": "refs/heads/main" }
}
},
"templateParameters": {
"testPlanKey": "{{issue.key}}",
"targetEnvironment": "{{issue.Environment.name}}"
}
}

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events