Access JIRA status from javascript

Leoš Literák April 18, 2017

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.

 

1 answer

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 1, 2022

Hi @Leoš Literák ,

unfortunately, your macro works at server side so, if your JIRA cannot be accessible from the network, you are not able to find a solution for that.

Fabio

Suggest an answer

Log in or Sign up to answer