Access JIRA status from javascript

We are in a process of migrating from internal JIRA/Confluence server to the cloud. The problem is that some projects stay in internal JIRA and I was used to watch their progress in Confluence via macro. Cloud confluence cannot access internal JIRA so it stopped working. My process is ruined and I am seeking how to ressurect it.

I realized that there is REST API. I wonder if this theory can work:

  1. write new macro for cloud confluence
  2. it would generate javascript that calls internal JIRA REST interface
  3. I would just query the status of selected issues
  4. it would be run locally in a browser within our VPN
  5. I am logged in to the internal JIRA so the REST can utilize my authentication

Is it achievable? The points 2-4 are IMHO doable. I read some topics about authentication so I worry of the last point. And of course I have no idea about point 1 possibilities in managed cloud. Thanks.


0 answers

Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Posted Thursday in Off-topic

Friday Fun: What's your favourite beer/drink

As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...

285 views 38 9
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot