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 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 Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

72 views 0 11
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