Hello,
I would like to create an issue from a webhook that is triggered from a cron that runs outside Jira on a dedicated server every night.
My Goal is to automatically create an issue in a project based on the data I send from the server.
I didn't succeed to do it globaly. I mean, I want to have a single url endpoint globaly and manage to create a new issue to the right project. I will have tons of project and I don't want to do it manually for each one.
In my webhookData, I send the project ID, a priority, a title, a description, an assignee.
I send all the data to Jira global webhook url.
I don't want to edit an existing issue, nor a subtask, I want to create a new issue. And it doesn't seem to be possible to filter on the project.
I tried everything I could to do this for the past week, but it keeps failing. I need your help.
Thank you.
OK, after a week of work with automation, I just found out that I could easily use REST API to do that and it works fine !
Hi @Pierre-Henri -- Welcome to the Atlassian Community!
Well done!
You will find that one added benefit of using the REST API to create the issue in any project is that you can use a project-scope rule, and so will not use up your global-rule execution limit for a standard license. Normally rules which impact all/multiple projects need global-scope.
Best regards,
Bill
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.
@Nicolò Spito you can find everything here : https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-post
There is no screenshot, it's a custom development made in php.
The documentation is quite useful and well build.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.