Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

jira automation web request: Invalid url in "self" field of issue payload




I have a jira automation for issues, which uses web request action. I'm trying to send HTTP request to my endpoint with web request body in jira automation format, which looks like this:

"self": "",
"id": 92165,
"key": "SF-2876",
// ...

The problem that is url provided in self are not valid: it's missing part about issue. The valid one should look like this:

However, when I'm validating request via automation editor, I receiving payload with correct url.

Is this a bug or am I doing something wrong?


1 answer

Hi Anton,

You seem to be trying to call the Jira REST API from an automation rule. 

If that is correct, please take a look at this how-to article for calling the REST API from a rule:

And, please confirm you are calling the REST API function with the correct parameters/URL:

Kind regards,

Hello Bill, thanks for the answer!


I'm sorry, seems like I inaccurately described the problem, what you are recommending to me is not quite what I'm looking for.

What I have Is Automation action called  "Web request", which is making a HTTP request to my endpoint with issue data in Jira automation format as payload. Then, in my endpoint I'm expecting that received payload will contain a field called self, which should contain Jira REST API url to the issue. The problem is that provided url in self field is incorrect and points to the 404 page instead of issue.

In other words, I expect this url in payload:

but instead I receiving this:

 The issue part of the path is missing.


Hope this explanation will make my problem more clear!

Thanks for clarifying, Anton.

I suggest trying to diagnose this from one end to the other...

  • start by calling your request from a browser or other tool to confirm it returns what is expected
    • if it does not work: investigate your endpoint
    • if it does, proceed...
  • next try calling a different endpoint from the same automation for Jira rule, web request action
    • if it does not work: investigate any issues with the calling token setup
    • if it does, proceed...
  • next try calling your endpoint again, and examine the response structure
    • it is possible it may not be structured as you expect
    • if it is structured correctly, and yet missing the expected data, work with your site admin to submit a ticket to the Atlassian Support team for advice:

Suggest an answer

Log in or Sign up to answer

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