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
4,300,659
Community Members
 
Community Events
165
Community Groups

sending web request-JIRA automation rules

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
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

404 views 0 7
Read article

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