Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Scaffolding Cloud: Converted Scaffolding Server macros to Scaffolding Cloud macros.
Field group
contentAdfStringified{"type":"doc","version":1,"content":[{"type":"table","content":[{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"text":"Add-on:","type":"text"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"inlineExtension","attrs":{"extensionType":"com.atlassian.confluence.macro.core","extensionKey":"short-text","parameters":{"id":"a1vtv7n1a0","extensionKey":"short-text","name":"report info x2 text data","placeholder":"","isRequired":false,"type":"line","atlassian-macro-output-type":"INLINE"}}}]}]}]},{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"text":"Question:","type":"text"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"inlineExtension","attrs":{"extensionType":"com.atlassian.confluence.macro.core","extensionKey":"short-text","parameters":{"id":"wz0rsj3q3r","extensionKey":"short-text","name":"page:title","placeholder":"","isRequired":false,"type":"line","atlassian-macro-output-type":"INLINE"}}}]}]}]},{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"text":"Answer:","type":"text"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"extension","attrs":{"extensionType":"com.atlassian.confluence.macro.core","extensionKey":"paragraph","parameters":{"id":"qfyc7vsqfg","extensionKey":"paragraph","name":"kbAnswer","isRequired":false,"Type":"area","atlassian-macro-output-type":"BLOCK"},"layout":"default"}}]}]}]}]}
fieldGroupNamemigrated
fieldGroupIdvgw00xzprz
excerptAdd-on: Classic Connector for Salesforce & Jira Question: Connector Fetch REST API - How do I show a human readable date in Visualforce pages Answer: When using the REST API to fetch JIRA issue date data, it will return the value in epoch date format. You will need to manually convert the value to a more human readable format using code such as the following: // JIRA Issue Object. @testVisible class JIRAIssue { ... public String due_date { get; } public String getFormattedDueDate() { if(this.due_date != null && this.due_date != '') { return DateTime.newInstance(Long.valueof(this.due_date)).format('dd/MM/yyyy', UserInfo.getTimeZone().getID()); } return null; } }     In the Visualforce page, add a new column which refer to the new method created above: <apex:pageBlockTable value="{!Issues}" var="issue"> ... <apex:column headerValue="Due Date" value="{!issue.formattedDueDate}"/> </apex:pageBlockTable>
propertyKeys["net.customware.confluence.plugin.scaffolding__vgw00xzprz__data_0_nfrng3jkhs"]