Jeel
Jeel

Reputation: 2535

Create request in JIRA from Jenkins

I want to use the REST API of JIRA to create issue. I found the following: https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis

The Jenkins ad JIRA are installed on windows so I cant use curl.

I am able to make http request from browser and create issues in JIRA. But not sure how to do same from Jenkins. Jenkins has a HTTP request plugin, but it doesn't have a data fields to make a proper POST call.

Please suggest some alternatives or a way to fix the above scenarios.

Upvotes: 2

Views: 2469

Answers (1)

Oleksandr Horobets
Oleksandr Horobets

Reputation: 1375

Jenkins has https://wiki.jenkins-ci.org/display/JENKINS/JIRA+Plugin which can handle issue creating:

enter image description here

Upvotes: 2

Related Questions