You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: The JARVIS bot issue command can not fetch ntohq-developers repository issues
Solution: Add flags to specify whether a team member wants to get repository issues from a user or organization.
Examples: /issue -o <organization> <reponame> -> Gets a organization's repository issue(s) and shares the issues to the slack server /issue -u <username> <reponame> -> Gets a user's repository issue(s) and shares the issues to the slack server /issue -h -> Responds to users with examples on how to use /issue command
To do
Update command.js to now clean flags
-> all flags need to be lowercased
-> flags can be found at index 0
-> represent each flag with a single character.
-> Example: 'o', 'u'
-> returned data example -> [ 'o', 'ntohq-developers', 'analyst' ]
Create a getUsersRepoIssues and getOrgsRepoIssue
-> Returns a list of issues fetched from github rest api
Add github.js issueCommand function contains all if statements to manipulate the array of flags
-> async function requires the command to run and returns the slack bot block to send back to the server
-> task:
1.Call getOrgs... or getUsers..
2. Call and return createIssueBlock
The text was updated successfully, but these errors were encountered:
Problem: The JARVIS bot issue command can not fetch ntohq-developers repository issues
Solution: Add flags to specify whether a team member wants to get repository issues from a user or organization.
Examples:
/issue -o <organization> <reponame>
-> Gets a organization's repository issue(s) and shares the issues to the slack server/issue -u <username> <reponame>
-> Gets a user's repository issue(s) and shares the issues to the slack server/issue -h
-> Responds to users with examples on how to use /issue commandTo do
-> all flags need to be lowercased
-> flags can be found at index 0
-> represent each flag with a single character.
-> Example:
'o'
,'u'
-> returned data example ->
[ 'o', 'ntohq-developers', 'analyst' ]
-> Returns a list of issues fetched from github rest api
-> async function requires the command to run and returns the slack bot block to send back to the server
-> task:
1.Call getOrgs... or getUsers..
2. Call and return createIssueBlock
The text was updated successfully, but these errors were encountered: