x x x
Only portrait mode is currently supported - please rotate your device.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: EWC signup changed re-directs

...

Show If
special@authenticated


Hide If
groupconfluence-administrators


HTML
<script>
// Endpoint checks if authenticated user is part of smith group otherwise add and send email
jQuery.ajax({
  url: "/rest/scriptrunner/latest/custom/ewcAutoMemberShip",
  headers: {
    'X-Atlassian-Token' : 'nocheck',
    'Content-type' : 'application/json'
  },
  type: "POST",
  dataType: 'text',
  data: JSON.stringify({
    
    "email": AJS.params.remoteUser,
	  
  }),
  success: function(text){
    //console.log("Response: "+ text)
	window.location.replace("https:/display/APP/Application+2021platform.entrepreneurshipworldcup.com/");
  },
  error: function(err){
    alert("trouble");
	window.location.replace("https://platform.entrepreneurshipworldcup.com/display/APP/Application+2021");
  }
});

</script>



Signup form
TCLinkhttps://platform.entrepreneurshipworldcup.com/display/AN/Terms+and+Conditions
CRLinkhttps://platform.entrepreneurshipworldcup.com/display/AN/EWC+2021+Competition+Rules
PPLinkhttps://platform.entrepreneurshipworldcup.com/display/AN/Privacy+Policy
SiteKeyEWC 2021
EndpointUrl/rest/scriptrunner/latest/custom/ewcSignUp

...