Hi Team, I want to integrate Jenkins to JIRA cloud

Poonam Singh September 29, 2024

I have installed correct Jira cloud plugin and Jira site URL but still getting below error in build console. I want to see the jenkins build comments in JIRA tickets for which merge request is done.

 [Ticket-ID] : issue doesn't exist in Jira

"[ATLASSIAN CLOUD PLUGIN] [WARN] Not a WorkflowRun, onCompleted() won't be propagated to listeners"

1 answer

1 accepted

2 votes
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 29, 2024

Hi Poonam - Welcome to the Atlassian Community!

I would suggest looking at a couple of things:

he workflow might not be properly configured so the plugin failing to recognize it as a valid WorkflowRun. Check the workflow settings and make sure that it’s correctly set up.

Or a custom script or other integration might be interfering with the workflow. Check for any script or integration code for potential issues.

If you don't see anything with either of these - contact the vendor. 

Poonam Singh September 30, 2024

Thanks for your reply John!

I don't have admin access in Jira and Jenkins. One of my colleague installed the plugin for Jira cloud. Please suggest where i can see WorkflowRun settings. I'll check with admin for JIRA and jenkins.

FYI Earlier we were using Jira server and comments were updating in JIRA ticket but after moving to Jira cloud facing this issue.

Meanwhile kindly let me know if something wrong in below configuration:

1. Installed Jira cloud plugin and populated the Jira site with my company JIRA URL. Tested the connection its verified successfully.

2. There is Post build action where i am using Default Issue Selector.

Jenkins post build.png3. Using step in jenkinsfile as below:

step([$class: 'JiraIssueUpdater',
issueSelector: [$class: 'DefaultIssueSelector'],
scm: scm]
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 30, 2024

You should contact your colleague for assistance. 

Poonam Singh September 30, 2024

Sure Thanks!

Like John Funk likes this
Poonam Singh October 1, 2024

Hi John, Could you please explain where this workflow needs to be verified as on jenkins test connection is validated.We are using only below post build action in jenkins but its not updating comments in Jira.

Jenkins post build.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events