The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

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!

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events