Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,109
Community Members
 
Community Events
165
Community Groups

Get the url /issue_key of current issue page ?

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

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 ! :)

dead link

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you