Send a web request from a SIL script

Is it a all possible to send a web request (GET, POST, etc.) or even send a curl command from SIL script? Thanks!

2 answers

1 accepted

Accepted Answer
1 vote

Yes, it is possible, we have httpGet and httpPost routines for web requests and if you need to call the curl command, we have the system routine.

 

Docs:

https://confluence.kepler-rominfo.com/display/SIL30/httpGet

https://confluence.kepler-rominfo.com/display/SIL30/system

 

no request body access, no payload, no SOAP

not its not possible

What are you trying to achieve, Anton? I'm sure there is a way for you, too.

Possible with SIL system routine. Beware of problem with passing parameters with spaces.

No, is not possible. I'm don't know what you want to achieve, but webhooks might be a solution for you: https://confluence.atlassian.com/display/JIRA/Managing+Webhooks

Cheers!
Teilor

Basically what I want to do is, on issue create, look for string format in the description (i.e. via regex) and if it matches, send a web request that contains info from that string.

I believe you could do this using ScriptRunner, but I'm not sure how. I found some examples here https://answers.atlassian.com/questions/314819/making-a-rest-call-using-script-runner

Teilor, he's already using JJupin and JJupin can solve his problem. Personally, I won't try a new plugin that might solve a problem if I already have a solution in my own toolbox.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

83 views 0 4
Join discussion

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