-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
Hello Jenkins Community,
I am trying to use JIRA Issue Updater plugin as a script in my Jenkins Pipeline but it is not working as expected. Here is a script that I am using,
withCredentials([usernamePassword(credentialsId: 'DummyId', usernameVariable: 'DummyUsername', passwordVariable: 'DummyPASSWORD')]) { step([$class: 'JiraIssueUpdateBuilder', restAPIUrl:'https://jiraweb.xyz.com/rest/api/2', userName:'$DummyUSERNAME', password: '$DummyPASSWORD',jqlSearch: jql, workflowActionName: SYSTEST, customFieldId: 'customfield_10370', customFieldValue: 2018-06-03]) }
If I run this same plugin as a jenkins Job then sometime it works and sometime it doesn't. And after changing status for first time either manually or via Jenkins Job then above script works.
But this shouldn't be the case.Can we have some solution on this?
Jenkins Version:2.107.2