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,297,574
Community Members
 
Community Events
165
Community Groups

Creating gitlab branch with Send Request rule

Hi.

I am struggling with the combination of GitLab and Jira. First I tried using WEBHook but this method has a lot of limitations (e.g. no way to pass API token). "Send web request" has richer possibilities.

I managed to set the correct address to which HTTP requests are sent and a new branch in GitLab is created. Unfortunately when testing the rule I get the error "Response 301 Moved Permanently". I am trying to figure out what this error is about. In the console I get the error: "Failed to load resource: the server responded with a status of 400 ()"

https://automation.atlassian.com/pro/rest/GLOBAL/rule/outgoing-webhook/validate?cv=1001.0.0-SNAPSHOT&xdm_deprecated_addon_key_do_not_use=com.codebarrel.addons.automation&lic=none&admin=true&cp=&xdm_e=https%3A%2F%2F#######.atlassian.net&xdm_c=channel-com.codebarrel.addons.automation__cb-jira-automation-rules&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI1ZWNiOGQyY2JjMDg3ZDBjMjZlOWE1YTkiLCJwcm9qZWN0QWRtaW4iOiJHTE9CQUwiLCJpc3MiOiJiZDg5MjNkNS05YzRkLTM1Y2UtYmQwNC03ZWVjYmRhNDAxOGMiLCJhZG1pbiI6dH...

(adress of my jira website is hashed)

Could someone please explain to me what this error is about? And is it even possible to run a webhook that will allow you to create a branch in a gitlab?

 

0 comments

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Atlassian Automation

Jira Automation: Sum Up Story Points Roundup (Initiatives -> Epics -> Story/Tasks -> Subtasks)

Hi Everyone, In this roundup we combine all the jira automation rules to sum up story points across different issue types. We start from the lowest level, summing up story points from sub-tasks t...

1,835 views 2 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