This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
try { | |
var siteData = { | |
'build.com': ['7145648780', '7145648780'], | |
'faucetdirect.com': ['5018175981', '6946525583'], | |
'lightingdirect.com': ['9448375588', '9899991986'], | |
'pullsdirect.com': ['3541442783', '5330191587'], | |
'ventingdirect.com': ['8471169988', '6806924782'], | |
'handlesets.com': ['5157776787', '3853458381'], | |
'ventingpipe.com': ['5668915583', '9760391187'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copy this to a bookmark in your favorite Browser | |
javascript:(function () { var id = window.jira.app.issue.getIssueKey().split('-')[1], pr = prompt('Enter pull request URL'), branchIssue = 'mob-' + (id.length === 3 ? '0' + id : id), testingInfo = '*Pull Request:*\n' + pr + '\n\n' + '*Branch Build:*\n' + 'http://' + branchIssue + '.mbranch.build.com\n' + 'http://' + branchIssue + '.mbranch.faucet.com\n' + 'http://' + branchIssue + '.mbranch.lightingdirect.com\n' + 'http://' + branchIssue + '.mbranch.faucetdirect.com' + '\n\n' + '*Testing steps:*\n' + '1. ', textarea = document.getElementById('customfield_10290'); textarea.value = testingInfo; textarea.style.height = '340px';}()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copy this to a bookmark in your favorite browser | |
javascript:(function () { var id = prompt('Enter JIRA IDS number'), issue = 'ids-' + id, branchIssue = 'ids-' + (id.length === 3 ? '0' + id : id), pullInfo = '### JIRA\nhttps://jira.impdir.com/browse/' + issue + '\n\n' + '### Branch Builds \n' + 'http://' + branchIssue + '.mbranch.build.com\n'+ 'http://' + branchIssue + '.mbranch.faucet.com\n' + 'http://' + branchIssue + '.mbranch.pullsdirect.com\n' + 'http://' + branchIssue + '.mbranch.handlesets.com\n' + 'http://' + branchIssue + '.mbranch.faucetdirect.com\n' + 'http://' + branchIssue + '.mbranch.ventingdirect.com\n' + 'http://' + branchIssue + '.mbranch.ventingpipe.com\n' + 'http://' + branchIssue + '.mbranch.lightingshowplace.com\n' + 'http://' + branchIssue + '.mbranch.lightingdirect.com'; document.getElementsByName('pull_request[body]')[0].value = pullInfo; }()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function CategoryViewModel(req,res) { | |
Models | |
{ | |
Page, | |
Category | |
}, | |
Collections{ | |
Nav | |
}, | |
GetSpecs : { |