Work with automation without consuming Jira automation rules

When working with automation some users probably won’t use a separate automation rule in Jira due to automation limits. Especially when using e.g. the back-up-chat functionality and having a lot of tickets/issues the rule is running on you can fast reach your limit.

In this scenario you might be able to use workaround via either the native Jira webhook post function or via the 3rd party app Scriptrunner.

Use native Jira webhook post function for status transitions

 

  1. Create the action from yasoon automation (click here for a guide on how to set these up: Automation: Actions (yasoon.com))

  2. Copy the Webhook URL

  3. Navigate to Jira → System → Advanced → WebHooks

  4. Create a new Webhook and paste the copied Webhook URL in the required field. Save the changes. You can also use JQL to query for specific issues or projects if needed

  5. Go to the desired project and access project settings. Then, navigate to the workflow section and edit the necessary transition

  6. In the Postfunctions section, select 'Add New' and choose the Webhook Postfunction

  7. From the list of Webhooks you just created, select the appropriate one

  8. Save the draft and test the functionality

  9. Don't forget to save your progress. Give it a try!

 

Use JWT post-function remote action

  1. Create a new yasoon automation action (like create chat) and set as Web request body “Custom data”:

  2. Go to your desired workflow, edit the transition, and add a new post-function in issue transition (e.g., create issue).

  3. Choose the post function “Execute remote action (by JWT).”

  4. Click expert mode

  5. Create a new action in JWT and select the following settings:

  6. Create a new connection in JWT, choose external, and add the webhook from the yasoon automation (step 1) as the base URL:

  7. Go back to your Postfunction inside the workflow (step 2-3): As action body in the postfunction configuration, set the issueid and projectid as marked below:

Save the configuration, publish draft and test your automation