Try using this JIRA Plugin. https://wiki.jenkins.io/display/JENKINS/JIRA+Plugin
You may also need to add Jenkins Add-on in JIRA as well. https://marketplace.atlassian.com/plugins/com.marvelution.jira.plugins.jenkins/server/overview
You could include a REST call in your builds, but a better option is a Jenkins plugin. I've used https://wiki.jenkins.io/display/JENKINS/Jira+Issue+Updater+Plugin in the past, but there are a couple of others that do it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.