I want to create automation that any stories, tasks or sub-tasks inherit the component from the epic when a new issue is created. I created the automation below but when testing it states no actions performed and the component from the parent epic was not added to the task.
Hi Breno,
A little bit late but posting this with the hopes that you were able to resolve this and the information will help someone else.
This is a security feature of web browsers called Same Origin Policy. You cannot make an AJAX call to a URL that is on a different domain than where the JavaScript was loaded from (ie. has the "same origin").
There are a number of ways to work around this, the two most common ones are:
While I see that you do not want to use CORS, please note for CORS, you'll need to configure Jira's whitelist: Configuring the whitelist. More information on this topic can be found in another community post: Rest call to Jira in Jquery results in error No Access Control
Jennifer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.