sending web request-JIRA automation rules

Bina Reddy June 14, 2022

Hi ,

I am using JIRA automation rules to sync JIRA issues with GitLab. For this I am sending a web request to GitLab so that could get the issue assignee details, but I am receiving http 500 error. I use the same URLs in postman it works. 

below is the URL(GET call)-

https://gitlabURL/api/v4/users?private_token=@@@@@@@@@@@&search={{issue.assignee.emailAddress}}

----------------

my idea here was when an issue is created in JIRA create in GitLab too,for that am using rules where in issue created in JIRA(trigger) then send web request(POST) 

Also while doing a POST am receiving http 307(redirection) error.

below is the URL am using(POST call)

https://gitlabURL/api/v4/projects/6320/issues?private_token=k89wN@@@@@&title={{issue.summary.urlEncode}}&description={{issue.description.urlEncode}}

receiving http 500 for GET call and 307 for POST call

Kindly guide.

ThankYou.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events