I want to fetch selected project's project-key in my plugin's javascript.
I am using Jira 7.2.x
In earlier versions of Jira (like 5), I was able to fetch the project key as
jQuery("#project-tab").attr("data-project-key")
hacked from
<section class="aui-page-panel-content" id="project-tab" data-project-key="AVSREQ">
but in higher Jira versions I can see below
WRM._unparsedData["project-key"]="\"AVSREQ\"";
Please help in identifying the js code to do the same.
Thanks.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.