When we first ran across the push subscriber it seems this could really help out across many different types of workflows and also an agnostic interface with many of our major business systems. Many rest based API's contain keys within the URI so in our case we would like a dynamic target URL based on content with the topic. Is it possible to pull elements out of the topic and represent them as variables in the configuration of the push subscription?
I have looked around and cannot find any documentation on how to use variables from the topic within the rest target URL?
Below is a simple example:
topic = { "activity": "180340", "attachment": "\\\\\\\\server\\\\share\\\\180340.pdf","emailReceived": "Fri May 25 13:37:12 PDT 2018"}
In the target url we would like to use the activity number & attachment. These will change with each notification, therefore we need a way to build dynamic target url's. Below is an example url with the activity number embedded in the URI.
https://host/rest/api/2/issue/180340/attachments
Thanks!