[JIRA] (JENKINS-58032) Not able to add comment during jiraTransitionIssue

19 views
Skip to first unread message

yhjhoo@gmail.com (JIRA)

unread,
Jun 15, 2019, 11:39:03 PM6/15/19
to jenkinsc...@googlegroups.com
Yang Huajie created an issue
 
Jenkins / Bug JENKINS-58032
Not able to add comment during jiraTransitionIssue
Issue Type: Bug Bug
Assignee: Naresh Rayapati
Components: jira-steps-plugin
Created: 2019-06-16 03:38
Environment: Jenkins version: CloudBees Jenkins Enterprise 2.138.4.3-rolling
Priority: Minor Minor
Reporter: Yang Huajie

I have got following message while run jenkins pipeline to update Jira status

jiraTransitionIssue idOrKey: 'Test-28', input: [
            transition: [
                id: '1291'
            ], 
            comment: [ body: 'test comment' ]
        ]

 

Error Code: 400
Error Message: {"errorMessages":[],"errors":{"comment":"Please provide a comment for this transition"}}
[
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

naresh.rayapati@gmail.com (JIRA)

unread,
Jun 16, 2019, 10:18:03 AM6/16/19
to jenkinsc...@googlegroups.com

naresh.rayapati@gmail.com (JIRA)

unread,
Jun 16, 2019, 10:19:01 AM6/16/19
to jenkinsc...@googlegroups.com
Naresh Rayapati commented on Task JENKINS-58032
 
Re: Not able to add comment during jiraTransitionIssue

The error message is from JIRA itself, based on the JIRA version you need to make sure that the input is changed so that it works correct, there is nothing we can do in this plugin to fix this.

naresh.rayapati@gmail.com (JIRA)

unread,
Jun 16, 2019, 10:22:02 AM6/16/19
to jenkinsc...@googlegroups.com
Naresh Rayapati closed an issue as Not A Defect
 
Change By: Naresh Rayapati
Status: Reopened Closed
Resolution: Not A Defect

naresh.rayapati@gmail.com (JIRA)

unread,
Jun 16, 2019, 10:22:02 AM6/16/19
to jenkinsc...@googlegroups.com
Naresh Rayapati closed an issue as Fixed
Change By: Naresh Rayapati
Status: Open Closed
Resolution: Fixed

naresh.rayapati@gmail.com (JIRA)

unread,
Jun 16, 2019, 10:22:03 AM6/16/19
to jenkinsc...@googlegroups.com
Naresh Rayapati updated an issue
Change By: Naresh Rayapati
Attachment: JIRA doTransition.png

naresh.rayapati@gmail.com (JIRA)

unread,
Jun 16, 2019, 10:22:03 AM6/16/19
to jenkinsc...@googlegroups.com

naresh.rayapati@gmail.com (JIRA)

unread,
Jun 16, 2019, 10:22:04 AM6/16/19
to jenkinsc...@googlegroups.com
Naresh Rayapati reopened an issue
 
Change By: Naresh Rayapati
Resolution: Fixed
Status: Closed Reopened

yhjhoo@gmail.com (JIRA)

unread,
Jun 16, 2019, 8:32:01 PM6/16/19
to jenkinsc...@googlegroups.com
Yang Huajie commented on Task JENKINS-58032
 
Re: Not able to add comment during jiraTransitionIssue

Yes, you are right. I switched to use jira API directly to make it work. Any chance to make the plugin to support the latest API?

Reply all
Reply to author
Forward
0 new messages