-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Number of open issues #143
Comments
Issues can be in GitHub or in Jira. I can create a probe which would count the issues and we would have a list of plugins which we need to attend to in order to improve their project configuration ( Precision: I was wrong, it's not in the POM file of the project but in the repository-permissions-updater files. See https://github.com/jenkins-infra/repository-permissions-updater/blob/master/permissions/plugin-Exclusion.yml#L4-L5 |
Hmmm.... Does the project have a stance on this, as in do we have a preferred method for tracking open issues? |
the common way was to say: use Jira. but now, some maintainers prefer GitHub issues over Jira. |
For a given plugin, we can use update-center to understand which site it is using to track open issues, whether it is GH or JIRA or both GH and JIRA. I'm thinking about how would we fetch the open-issues count from these sites. We can get it easily from GH without any rate limit issues, but I'm curious about how we can get this info from JIRA. Currently, we can use this JQL (refer this) to get the open issues present within a component of a specific JIRA project: Wdyt? |
I'm not sure. We are already using a lot of calls to GH but we will see. About Jira, I'm not sure this documentation is about the Jenkins instance but about the cloud hosted ones ( |
you mean, to try looking at the jira docs for the Jenkins instance? I don't know where to find that. |
yes, try to work on the probe so we can see if there is a limitation. If so, we will see how we can work on it. |
We can integrate Jenkins with JIRA: https://support.atlassian.com/jira-cloud-administration/docs/integrate-with-jenkins/ We can use JQL and create something like the first example in the doc: |
I got the count for our repository using GitHub API: https://api.github.com/search/issues?q=repo:jenkins-infra/plugin-health-scoring+type:issue+state:open Are we using this one for GitHub? I went through this API: https://github-api.kohsuke.org/ but I do not think this will help us. It only helps with authentication. |
Instead of giving an additional app access to Jira, another possibility could be to extend and use the data gathered by https://github.com/jenkins-infra/infra-reports and/or https://github.com/jenkins-infra/plugin-site-api, WDYT? |
Thanks for sharing @hervelemeur
|
I see this API being called: in https://github.com/jenkins-infra/infra-reports/blob/main/jira-users-report/user-report.sh but cannot find a documentation. |
What would you like to know about this API call? |
The It invokes this API: https://issues.jenkins.io/rest/api/2/group/member?groupname=jira-users But I am not able to find any documentation on this API. I was wondering if I can tweak this API and return number of open issues in JIRA based on The
|
This dashboard: https://issues.jenkins.io/secure/Dashboard.jspa Does display all JIRA issues with their count. I was hoping to fetch the total in my project. |
I can use this documentation: https://developer.atlassian.com/server/jira/platform/rest-apis/ With the following syntax? The |
Having the number of issues for a plugin can help understand the interaction between the users and the maintainers.
The text was updated successfully, but these errors were encountered: