It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to use ScriptRunner to read from a specific URL?

I'm trying to read information from a specific URL using Script Runner, and I really have no idea how to start.

I've tried using code from this page: https://docs.oracle.com/javase/tutorial/networking/urls/readingURL.html

in the Console, but when I try logging anything from the readLine() method, it always appears as null. I've never used URLs in Java or Groovy before, so I'd really appreciate any help anyone could give!

1 answer

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Align

Announcing the Jira Align Early Advocate limited edition badge!

Hello and Happy New Year to our Jira Align Community Collection visitors! The Jira Align community is growing quickly, and we’re excited about all the great content that has been posted so far. To ...

1,356 views 41 27
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you