changes.mady.by.user Mazin Abubeker
Saved on Apr 20, 2021
...
<div id='sidebar-container-title' class='subtitle'> </div> <div id='sidebar-container-industry' class='title'> </div>
<div class='title'>Funding Stage</div> <div id='sidebar-container-stage' class='subtitle'> </div> <div class='title'>Amount Raised</div> <div id='sidebar-container-funding' class='subtitle'> </div> <div class='title'>Tags</div> <div id='sidebar-container-tags' class='subtitle'> </div>
-
<script> //var data_fields = []; jQuery.ajax({ url: "/rest/scriptrunner/latest/custom/searchJiraTicketsPaginated", headers: { 'X-Atlassian-Token' : 'nocheck', 'Content-type' : 'application/json' }, type: "POST", dataType: 'json', data: JSON.stringify({ "jql": "project = PGH AND issue = " + new URLSearchParams(window.location.search).get('company'), "startAt": 0, "maxResults": 1 }), success: function(data){ let fields = ['customfield_10108', 'customfield_10641', 'customfield_10653', 'customfield_10224', 'customfield_10640']; //for(let i "maxResults": 1 }), success: function(data){ let fields = ['customfield_10108', 'customfield_10641', 'customfield_10653', 'customfield_10224', 'customfield_10640= 0; i < fields.length; i++){ // data_fields.push(data.issues[0]['fields'][fields[i]]); //} $('#sidebar-container-title')[0].innerHTML = data.issues[0]['fields']['customfield_10108']; //for(let i = 0; i < fields.length; i++){ // data_fields.push(data.issues[0]['fields'][fields[i]]); //} $('#sidebar-container-title')[0].style.fontSize = "20px"; $('#sidebar-container-title')[0].style.marginBottom = "10px"; $('#sidebar-container-titleindustry')[0].innerHTML = data.issues[0]['fields']['customfield_1010810641']; $('#sidebar-container-titlestage')[0].style.fontSizeinnerHTML = "20px"data.issues[0]['fields']['customfield_10653'].value; $('#sidebar-container-titlefunding')[0].style.marginBottominnerHTML = "10px"data.issues[0]['fields']['customfield_10224']; $('#sidebar-container-industrytags')[0].innerHTML = data.issues[0]['fields']['customfield_1064110640']; } }); </script>
<div id='meet-the-team-label'>Meet the Team</div> <style> #meet-the-team-label{ font-size: 32px; height: 32px; font-weight: bold!important; position: absolute; top: -45px; left: 0px; border-bottom: 2px solid #151515; padding-bottom: 11px; } </style>