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

I want to send a Automation HTTP web request that includes the Jira Key

Dr S March 27, 2023

I am using Jira Service Management to deal with my customers requests. When a change has happen to a request I want an Automation to send a message to an API.

I am using a web request that includes the Jira key in the body using Automations.

 

This is my code:

 

* Web request URL: https://myapp.com/api/ping_new_jira_update
* Headers: Content-Type=application/json
* HTTP method: POST
* Web request body: Custom data
* Custom data:

{
"api_key": "s)AdKfbJFIDp4$G/hP/k>SPy/",
"jira_key": "{{issue.fields.key}}"
}

 

However the key, for example "REQ-4442" does not work. What is the variable name for the Jira Key?

1 answer

1 accepted

1 vote
Answer accepted
Juan Carlos Vera
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 27, 2023

Hi @Dr S ,

Try with:

"Jira_Key": "{{issue.key}}"
Dr S March 27, 2023

That worked! Thanks and have a great week!

Like Juan Carlos Vera likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events