I tried to connect Jira Cloud and Jenkins. I'm using Jira plugin for create issue bu it didn't work. And it doesn't show issue priority.
Are there different way to create issue and assign somebody from Jenkisnt to Jira Cloud? Can you help me?
Hi @Ergin İpekçi ,
Can you kindly let us know which app are you using, the official Jenkins for Jira or anything else?
I am asking because the official Jenkins for Jira is only intended to be used to connect and send build and deployment information from your Jenkins server to your Jira Software Cloud site or to trigger builds based on issue changes. Please review below links for details:
Therefore, please let us know:
It was exactly what I was looking for. I configured the settings but it doesn't show issue priority and issue type. And it doesn't create issue on Jira. There isn't log on console output on Jenkins. I use Jira Cloud and Jenkins Server. What can be the problem?
I haven't used Jenkins Integration Automation for Jira yet. I will try that.
Hi @Ergin İpekçi ,
Having Jenkins hosted locally should not be a problem as long as:
However, have you reviewed the below section of the add-on documentation page?
JIRA Authentication & Permissions required
Note: As a rule of thumb, you should be always using a service account (instead of a personal account) to integrate Jenkins with JIRA.
Make sure that the JIRA user used by Jenkins has enough permissions to execute its actions. You can do that via JIRA Permission Helper tool.
- For creating JIRA issues, the user has to be able to Create Issues in the specified project
- If you additionally enter assignee or component field values, make sure that:
- both of the fields are assigned to the corresponding JIRA Screen
- the JIRA user is Assignable in the project
- the Jenkins JIRA user can Assign issues
In Atlassian JIRA Cloud, it's not possible to create a user without an email, so you need to create API token.
Then create a global Jenkins credential, where you put Atlassian ID email as username and API token as password.
You can check if your API token works correctly by getting a correct JSON issue response with this command (where TEST-1 is an example issue in your project):$ curl -X GET -u <email>:<API token> -H "Content-Type: application/json" https://<YourCloudInstanceName>.atlassian.net/rest/api/latest/issue/TEST-1
Also make sure that CAPTCHA is not triggered for your user as this will prevent the API token to work - see target=_blankCAPTCHA section in Atlassian REST API documentation.
Please go through the above text, run the tests and let me know if it helps.
When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events