Get the url /issue_key of current issue page ?

Lucas Noffray December 17, 2018

Hello !

I'm making a Jira Cloud module for our users, but I can't find a way to get the current url or the current issue key of the page. (This is the only thing I need)

Is that possible with jira cloud app/module ?

I can't even use some JS to get the current url :(
Is that even possible to run some JS ? Haha

Thanks ! 

I'm available if you have any question. :)
Have a nice day !

1 answer

1 accepted

0 votes
Answer accepted
Lucas Noffray December 17, 2018

I'm back !

For anyone who is interested into get the current url location, this is the trick :

https://developer.atlassian.com/cloud/jira/platform/jsapi/ap/

AP.getLocation(function(location){
  alert(location);
});


Have a nice day if you read this ! :)

Magnus Anderssen May 12, 2022

dead link

Suggest an answer

Log in or Sign up to answer