apache / apache/maven-changes-plugin
[MCHANGES-385] JIRA Report for Changes plugin Invalid browse URL for issueManagement
- Langage dominant
- Java
- Étoiles
- 15
- Forks
- 22
- Merge moyen
- 8 h 1 min
- PR mergées (30 j)
- 3
Description
**[John Fox](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=john%20fox)** opened **[MCHANGES-385](https://issues.apache.org/jira/browse/MCHANGES-385?redirect=false)** and commented
If the issueManagement URL is defined as a JQL query the changes plugin fails with
```java
10:24:52 [INFO] Generating "JIRA Report" report --- maven-changes-plugin:2.12.1:jira-report
10:24:52 [WARNING]
10:24:52 java.lang.IllegalArgumentException: Invalid browse URL
10:24:52 at org.apache.maven.plugin.jira.JiraHelper.getJiraUrlAndProjectName (JiraHelper.java:229)
10:24:52 at org.apache.maven.plugin.jira.RestJiraDownloader.doExecute (RestJiraDownloader.java:115)
10:24:52 at org.apache.maven.plugin.jira.AdaptiveJiraDownloader.doExecute (AdaptiveJiraDownloader.java:45)
10:24:52 at org.apache.maven.plugin.jira.JiraMojo.executeReport (JiraMojo.java:346)
```
Example IssueManagement
```xml
JIRA
https://issues.apache.org/jira/issues/?jql=component%20%3D%20changes.xml
```
In our projects a maven artifact correlates to a JIRA component so for an individual issueManagement site URL we want to be able to see all of the issues tied to that component. This is only an issue if the jira report is used for the changes report this works without issue.
---
**Affects:** 2.12.1
**Remote Links:**
- [GitHub Pull Request #8
](https://github.com/apache/maven-changes-plugin/pull/8)
1 votes, 5 watchers
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par le chemin du rapport JIRA dans JiraHelper.java, puis lisez RestJiraDownloader.java et la stack trace pour voir comment l’URL issueManagement est analysée. Utilisez l’URL JQL de l’issue comme cas de reproduction ; le travail est terminé lorsque le rapport JIRA l’accepte et répertorie les issues du composant demandé sans déclencher Invalid browse URL.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java
- Domaine
- build-system
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 25/100