I would like to make a connection between jira and jenkins.
I succeed with some plugins to make the integration, - with some webhooks, I can trigger the jobs from jira, and with a post to send back the info about the jobs.
But in the end the task was a bit different.
To get all the jobs name in Jira in a custom field, and to be able to trigger the builds when you select a value in this field.
The question that i have:
How can I get with rest the list of the builds from a folder(I have a plugin in Jira that can store the values in fields)
I found your post and while I’m not sure if you are still working on this or not I thought I would still leave a comment for you and possible future visitiors.
I have build an app for Jira and plugin for Jenkins (the Jira app is a paid app) that is able to process events from Jenkins, these can be job save, build completed events amongst others. These events are processed to see if there is a link to an issue in Jira. If found the events source (build or job) is linked to that issue so its results can be shown in the Jira UI.
Next to this the Jira app also has capabilities to trigger builds in Jenkins including sending build parameter values from issue fields. This build result is automatically linked to any issue where the build originated from.
If this is still something you want to look into then you can install the Jira app (Supports Data Center and Cloud) and the Jenkins plugin