How to retrieve the actual Jira instance I am in?

Great! Thank you, this works well:

getInstance = async () => {
    const response = await api
      .requestJira(`/rest/applinks/latest/manifest`);
    const results = await response.text();
    const jurl = /\<url\>(.*)\<\/url\>/;
    return jurl.exec(results)[1];
  }
3 Likes