Include issue fields in Send Webhook's custom data

I'm trying to setup an automation rule that will send issue data to an external system whenever a new issue is created. The external system requires a specific format so my idea was to simply set the Webhook body to Custom data and add custom json with {{smart}} placeholders. However, Custom data does not seem to be a smart field. 

Is this correct? If yes, any plans to change this or other ideas how I could achieve what I want?

1 answer

0 vote
Andreas Knecht Community Champion May 09, 2017

Hey Lukas,

Custom data should definitely be able to render smart values.

I've just tested this and this custom data content:

{ "hello": "{{issue.key}}", "description":"{{issue.fields.description}}"}

Turned into:

{ "hello": "DEMO-180", "description":"This is a sample desc"}

I tested this by sending a webhook to http://requestb.in/.

Can you post the contents of your 'Custom data' section so I can see what's going wrong perhaps?

Cheers,

  Andreas

 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

71 views 0 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you