Created
May 13, 2016 09:11
-
-
Save bichotll/826658dacf294523ba80556d4059a600 to your computer and use it in GitHub Desktop.
Get title of the task to create a branch
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
/** | |
* Returns the name of the branch regarding the task number and title | |
* @example XXX-129-remove-blank-space-from-selector-view | |
*/ | |
function rsGetTitle() { | |
return $('#key-val').text() + '-' + $('#summary-val').text().toLowerCase().replace(/ /g, '-'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment