Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program to do what the requirement is. #2

Open
nirmalarama opened this issue May 10, 2022 · 3 comments
Open

Program to do what the requirement is. #2

nirmalarama opened this issue May 10, 2022 · 3 comments

Comments

@nirmalarama
Copy link

Please fine tune the program to get exactly what is asked for.

Here is a snapshot of the ask from Panel:

[5/6/2022 8:55 AM] Subramanya Vellal, Dattatreya
Take org-name and repo-name as parameters, and as output of the script, please print: a) the no. of issues (open & closed) in the repository, and b) the link (url) to each of the issues.

@Krishnaveni-KV
Copy link
Owner

Find out the the issues in the repo. yes! as you suggested, I should work on finetune my program. Kindly check the results.json for the output.

@Thirumal-Palwai
Copy link

Thirumal-Palwai commented May 13, 2022

The ask here is specific about
printing:
a) the no. of issues (open & closed) in the repository
b) the link (url) to each of the issues.

where I can see:

    "comments_url": "https://api.github.com/repos/philips-software/app-token-action/issues/123/comments",
    "events_url": "https://api.github.com/repos/philips-software/app-token-action/issues/123/events",
    "html_url": "https://github.com/philips-software/app-token-action/pull/123",
    "id": 1234530123,
    "node_id": "PR_kwDOFJ-Z6s43v7kX",
    "number": 123,
    "title": "chore(deps): bump @actions/github from 4.0.0 to 5.0.2",
    "user": {
        "login": "dependabot[bot]",
        "id": 49699333,

lot of stuff in a file.

Please print it on a terminal with only
a)no. of issues (open & closed) in the repository
b) the link (url) to each of the issues.

Please wait for the approval before you close the issue.

@Krishnaveni-KV
Copy link
Owner

I taken my own repository issues, and given input parameters like org name: Krishnaveni-KV and repo name as: githubapi
Output got printed in the terminal by using shell script in vi editor. Attached word file for your reference.
a) no.of issues open& closed in the repo
b) url for each issue
got the output.kindly check the attached file.
Assigned Task.docx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants