How to place reference to the object inside the body of POST http request (automated task Insight) Edited

I need to start remote task when some object are changed.

So i decided to use automation with HTTP PUT method to run activities on  remote orchestrator but i have no idea how to put reference to object Id that changed inside the body.

Is there any way instead groovy script ? 

1 answer

1 accepted

0 vote

Hi Andrey,

From Insight version 5.1 which is planned to be released within the coming weeks, placeholders will be available for the all the actions, not only for the groovy script. So if it's possible, you could wait for that release, I think that will make it much easier for you.

But yes, it is possible to do this today using groovy scripts. 
For more information, take a look at https://documentation.riada.se/display/ICV50/Insight+Automation

At https://documentation.riada.se/display/ICV50/Groovy+Scripting we have some examples of groovy script that could be used as an inspiration, and at https://documentation.riada.se/display/ICV50/Insight+API+-+for+developers we have documentation about our API.

Best Regards
Alexander

Your welcome. If you feel like this answered your question, feel free to mark it as answered.

Best Regards
Alexander

Have you any plans to implement HTTPS into Http Request method for automation ?

Hi, @Alexander Sundström

Please can you be more specific - How to place reference to the object inside the body without using grovy script?
I made automated e-mail to receive before certificate expire and I want to see the list of certificates.
I would prefere not to be forced to use grovy script.

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 Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

173 views 0 4
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