Forums

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

How can I use organization value as a variable in API Send web request

giladc February 13, 2025

Hi,

I created a "Send web request" and I would like to use the Organization from the ticket 

 

Organizations field.

How should I use it?
here is the structure I tried:

"Attributes": [

 

{ "Key": "Organization", "Value": "{{issue.organization.name}}"}]

1 answer

0 votes
Gabriel Teixeira
Contributor
February 13, 2025

Hi @giladc and welcome to Atlassian Community!

Could you give more details? You are trying to send a Post to Jira API?
Which API you are using?

giladc February 16, 2025

Hi,

I'm using the "Send web request" :

Screenshot 2025-02-16 153327.png

 

I would like to use the {{issue.organization.name}} as one of the parameters in the request.

 

Thanks,

Gilad

Gabriel Teixeira
Contributor
February 17, 2025

Hi Gilad!
The organization field is a multi select field, in that way you need to use it as a list.

You could use this smart value for exemple:

{{issue.Organizations.first.name}}

 

With this you will retrieve the name of the first organization in the field 

giladc February 17, 2025

Great, thanks!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events