Forums

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

How to use a smart value in webhook URL

Alexander Ziegltrum
Contributor
September 13, 2023

Hey 👋

I need to have the value of a smart value in the web request URL of a webhook. 

I am struggling with the curly braces in the URL.

If the smart value is {{FilterId}}, how do I apply it correctly in the URL?

 

https://<my-instance>.atlassian.net/rest/api/3/filter/{{FilterId}}/permission

 

Cheers

1 answer

1 accepted

1 vote
Answer accepted
Bill Sheboy
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.
September 13, 2023

Hi @Alexander Ziegltrum 

Context is important for rules, to see where things are happening.  Would you please post images of your complete rule, including details of the web request action?  That may provide context for the correct smart value to use for your URL.  Thanks!

Kind regards,
Bill

Alexander Ziegltrum
Contributor
September 13, 2023

Hi @Bill Sheboy 

you are absolutely right and I agree. In the case described, it wasn't actually about the URL and the adoption of curly braces in the URL, but the content of the web request body. So it would have helped, if I had the former payload data put in this community question as well.

It is nicely described here: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filter-sharing/#api-rest-api-3-filter-id-permission-post

In the end I could figure it out and it works now for me.

Nevertheless, thank you for taking the time and picking up my question 😊

Cheers, Alex

Like • Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events