Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 90763D8A1 for ; Wed, 15 May 2013 13:26:57 +0000 (UTC) Received: (qmail 60194 invoked by uid 500); 15 May 2013 13:26:55 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 60000 invoked by uid 500); 15 May 2013 13:26:55 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 59982 invoked by uid 99); 15 May 2013 13:26:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 May 2013 13:26:54 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nbuso@ebi.ac.uk designates 193.62.194.225 as permitted sender) Received: from [193.62.194.225] (HELO smtp02.ebi.ac.uk) (193.62.194.225) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 May 2013 13:26:48 +0000 Received: from [172.22.70.38] (linux.windows.ebi.ac.uk [172.22.70.38]) by smtp02.ebi.ac.uk (8.13.8/8.13.8) with ESMTP id r4FDQS85009600 for ; Wed, 15 May 2013 14:26:28 +0100 Message-ID: <1368624388.2008.21.camel@linux.scoobydoo> Subject: Re: jira report error From: Nicola Buso Reply-To: nbuso@ebi.ac.uk To: users@maven.apache.org Date: Wed, 15 May 2013 14:26:28 +0100 In-Reply-To: <1368620821.2008.20.camel@linux.scoobydoo> References: <1368620821.2008.20.camel@linux.scoobydoo> Organization: EBI Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.4 (3.6.4-3.fc18) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org My fault, I was using jiraUser, jiraPassword instead of webUser, webPassword. n. On Wed, 2013-05-15 at 13:27 +0100, Nicola Buso wrote: > Hi all, > > I'm trying to configure the maven-changes-plugin to generate a report > for jira. I receive the following error running: mvn site -X > > [ERROR] The value '' does not exist for the field > 'project'. > [WARNING] > org.apache.maven.plugin.MojoExecutionException: Failed to query issues; > response 400 > at > org.apache.maven.plugin.jira.RestJiraDownloader.reportErrors(RestJiraDownloader.java:198) > at > org.apache.maven.plugin.jira.RestJiraDownloader.doExecute(RestJiraDownloader.java:152) > at > org.apache.maven.plugin.jira.AdaptiveJiraDownloader.doExecute(AdaptiveJiraDownloader.java:47) > at > org.apache.maven.plugin.jira.JiraMojo.executeReport(JiraMojo.java:367) > at > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:190) > > > Using the debugged request I execute it from a firefox plugin > (RESTClient) and I can obtain easly the result; request: > ------- > Address: https:///jira/rest/api/2/search > Http-Method: POST > Content-Type: application/json > Headers: {Accept=[application/json], Content-Type=[application/json]} > Payload: {"jql":"project = AND status in (6) AND resolution > in (1) ORDER BY priority DESC, created > DESC","maxResults":100,"fields":["*all"]} > ------- > I sent the request in POST with the content type as debugged. > The issueManager configuration in the pom file is: > > > JIRA > https:///jira/browse/ > > > > Can somebody helping me to find a solution to this? is there some > configuration I can add to changes-plugin to correct this behaviour? > > > Nicola. > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org