x x x
x
Only portrait mode is currently supported - please rotate your device.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Custom section
ContainerIDprofile_header_container
Widthbox-sizing: border-box; padding: 20px; align-items: center; flex-direction: row; display: flex; width: calc(80% - 40px); height: 120px; background: black;margin: 40px auto;


HTML
<div id="profile_header_text" style='color: white; font-weight: bold; font-size: 40px; padding-left: 20px;'> </div>



HTML
<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 = 0; i < fields.length; i++){
			data_fields.push(data.issues[0]['fields'][fields[i]]);
		}
	}
});
</script>

<style>
.title{
	font-size: 16px;
	font-weight: normal;
	color: white;
	height: fit-content;
}
.subtitle{
	font-size: 18px;
	font-weight: bold;
	color: white;
	height: fit-content;
}
</style>
</script>

<style>
.title{
	font-size: 16px;
	font-weight: normal;
	color: white;
	height: fit-content;
}
.subtitle{
	font-size: 18px;
	font-weight: bold;
	color: white;
	height: fit-content;
}
</style>


Custom section
CustomCSSheight: fit-content!important;border: none!important; background: transparent!important;width: 80%!important;margin: 0 auto!important;
ContainerIDcustom-section-company-container


Custom column
CustomCSSposition: relative; height: unset!important; background: transparent!important;width: 320px!important; min-width: 320px!important;


Show If
groupconfluence-administrators


Custom column
CustomCSSmargin: 0!important; width: 100%!important;
Heightauto

Custom button
Typecustom-button
TextEdit Profile
Width100%



Show If

Dynamic general sidebar
MessageButtonTitleView Website
MessageButtonCustomCSSbackground-color: #6781ca;
BackButtonCustomCSSbackground-color: #636363;
BackButtonUrl/display/PN/#tab-STARTUPS
SidebarHeight100%
BackButtonTitleBack to Startups


Custom section
CustomCSSpadding: 20px; box-sizing: border-box; background: #333; height: 100%; position: relative; display: flex; flex-direction: column;
ContainerIDsidebar-container


Custom section
CustomCSSdisplay: flex; flex-direction: column;max-height: 200px; min-height: 200px; height: 200px; border-bottom: 2px solid lightgray;
ContainerIDsidebar-container-top


HTML
<div id='sidebar-container-title' class='title'> </div>
<div id='sidebar-container-industry' class='subtitle'> </div>



Custom section
CustomCSSheight: auto;display: flex; flex-direction: column;
ContainerIDsidebar-container-bottom





Custom column
CustomCSS
Custom section
CustomCSSheight: fit-content!important;border: none!important; background: transparent!important;width: 80%!important;margin: 0 auto!important;
ContainerIDcustom-section-company-container
margin: 0!important
Custom column
CustomCSSposition: relative; height: unset!important;background: transparentwhite!important;width: 320px!important; min-width: 320px!important;
Show If
groupconfluence-administrators
Custom column
CustomCSS
margin-left: 20px;width:100%!important;
Height
auto

Custom button
Typecustom-button
TextEdit Profile
Width100%

Show If

Dynamic general sidebar
MessageButtonTitleView Website
MessageButtonCustomCSSbackground-color: #6781ca;
BackButtonCustomCSSbackground-color: #636363;
BackButtonUrl/display/PN/#tab-STARTUPS
SidebarHeight100%
BackButtonTitleBack to Startups

Custom section
CustomCSSpadding: 20px; box-sizing: border-box; background: #333; height: 100%; position: relative; display: flex; flex-direction: column;
ContainerIDsidebar-container
Custom section
CustomCSSdisplay: flex; flex-direction: column;max-height: 200px; min-height: 200px; height: 200px; border-bottom: 2px solid lightgray;
ContainerIDsidebar-container-top
HTML
<div id='sidebar-container-title' class='title'> </div>
<div id='sidebar-container-industry' class='subtitle'> </div>
Custom section
CustomCSSheight: auto;display: flex; flex-direction: column;
ContainerIDsidebar-container-bottom
Custom column
CustomCSSheight: unset!important;background: white!important;margin-left: 20px;width:100%!important;
Heightauto
General content
ContentHeight120hv
General descriptionMyTitleIDdescription-title

-

auto


General content
ContentHeight120hv


General description
MyTitle
IDdescription-title

-




HTML
<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 = 0; i < fields.length; i++){
		//	data_fields.push(data.issues[0]['fields'][fields[i]]);
		//}
		
HTML
<script>
$('#sidebar-container-title')[0].innerHTML = data_fields[0.issues[0]['fields']['customfield_10108'];
		$('#sidebar-container-industry')[1].innerHTML = data_fields[1];.issues[0]['fields']['customfield_10641'];
	}
});

</script>



Custom section
CustomCSSflex-direction: column; display: flex; position: relative; padding-top: 20px; background: transparent; border: none; border-top: #999 2px solid; width: 80%!important; margin: 80px auto 0 auto!important;


HTML
<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>


List members pagination
GroupNameconfluence-administrators
CardURL/display/PN/Mentor+Profile?mentor=
UniqueIdentifiermentorlistmembers
PreviousButtonTextPrevious
CardSubtitleconfluence.position%confluence.department
Limit3r
NextButtonTextNext
Paginatetrue

...