Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to use http Request in insight automation

Nicklas Madsen October 7, 2022

What is needed to be able to make use of the HTTP Request option in Insight Automation.

I am trying to make a POST request with url https://domain.com/rest/api/latest/issue, trying to create an issue. 
My post data looks something like this:
{ "fields": {"project": {"key": "XXXX"}, "summary": "Test", "description": "Testy Test", "assignee": {"name": "username"}, "reporter": {"name": "username"}, "issuetype": {"name": "Audit"}}
}
There are objects in the insight schema that matches the IQL requirements in my when, and the user running the rule is an admin account with all access.

I can see that the rule is running, but no issue are created. If i try curl from a shell, with the same data i am able to create an issue, so what is going wrong with insight automation?

Best Regards

2 answers

0 votes
Nicklas Madsen October 9, 2022

@Simmo 
Hi 
Where is this audit log for me to check?

I am currently on Jira Server, and all the articles i can find, seem to relate to Cloud

Best Regards

0 votes
Simmo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 9, 2022

Hi @Nicklas Madsen,

Are you getting any errors in the audit log or is it just not working? 

Nicklas Madsen October 9, 2022

Hi @Simmo 

I am not getting any errors in the audit log

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events