Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Executing jenkins job from Automation Rule

I've created a jenkins local host in my system. Once, I create automation rule from JIRA with giving Jenkins webhook, then it is throwing 403 Forbidden while validating the request and giving response as ACCESS_DENIED.

Can anyone help on this?

2 answers

1 vote

When you fire the same request from CURL, what happens?

If that also throws a 403, then you must review the authentication config in the Jenkins side. If that works, then you must review how the request is formed in the AFJ side.

I'm able to execute the curl request from local/POSTMAN.

Automation for Jira. The app that executes your automation rules. 

I've given the similar parameters the one I am providing through POSTMAN request, then should not this gets validated successfully. Can you please help on this?

Hi,

Are you certain that there's even a connection with Jenkins at all? I doubt if automation can be able to send data via a local connection as it has to be via the internet, so a 403 response is expected.

Wouldn't that work if we pass system's ipaddress rather than localhost

It shouldn't work if it's not accessible over the internet. Remember postman has the ability to interface with your local network, automation for Jira won't do that. What you should do is use a proxy for your Jenkins and put it online then you can send a request to it via automation for Jira.

Like Sanyam Arora likes this

Okay thanks for the suggestion, will try this at my end

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS

Community Events

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

Events near you