User macros are a restricted function on Cloud. You can write dynamic or static macros with Connect add-ons (see https://developer.atlassian.com/static/connect/docs/latest/index.html and look for dynamic/static)
It looks like you're new here. Sign in or register to get started.