I am sending a web request using Jira Automation and it ends up with the following error message
When I send the same request using POSTMAN, it works fine but on Jira, it throws the above error. Here is my rule:
Here is my web request
what is wrong with this. i am unable to understand the logic behind error.
This may be related to this comment: https://community.atlassian.com/t5/Jira-Software-articles/Automation-for-Jira-Send-web-request-using-Jira-REST-API/bc-p/1595132#M3843
It looks like your application is running on port 7000 which according to that comment, is not a part of the allowed ports from the Send Web request action.
Please note that the Postman and jira automation (via REST API) works slightly differently and their auth credentials are different as well. Postman works with aPI token directly but for Jira automation (to access REST endpoints) you need to follow the steps mentioned in this document under the heading *Supply basic auth headers* (steps 1-5).
* [Basic auth for REST APIs|https://developer.atlassian.com/cloud/jira/platform/basic-auth-for-rest-apis]
Please let me know if this works for you?
Cheers,
Asim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi, @Jamshaid have you solved this problem? I want to notify n8n of Jira's event through automation, and the response is also 403, but it can be successfully notified using Postman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jamshaid
403 means that user that you used is not allowed to do that.
Can you re-check user credentials?
URL don't look like a standard jira API. Is ti something provided by add-on?
Regards,
Seba
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for responding. This is an API to my application. The user credentials are correct. As I have copied them from Postman.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this is my postman request
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.