Last active
July 13, 2017 09:41
-
-
Save dbenchi/4151c1ccca7fc9181e31ddf678f1e516 to your computer and use it in GitHub Desktop.
This file contains 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
axios.request({ | |
method: 'get', | |
/* | |
* JIRA_ISSUE = the JIRA issue that we get from the previous call | |
*/ | |
url: `${JIRA_URL}/rest/api/2/issue/${JIRA_ISSUE.id}/?fields=attachment,comment`, | |
auth: { | |
username: JIRA_ACCOUNT.username, | |
password: JIRA_ACCOUNT.password | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment