how to fetch project key from WRM._unparsedData["project-key"]

Radha Khullar June 23, 2017

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.

 

0 answers

Suggest an answer

Log in or Sign up to answer