Add a web link to an issue

This article provides the code snippet to add a web link to an issue, using Build-your-own (scripted) Post-function (JMWE app) post-function and callJira filter.


  1. Navigate to the intended workflow to make the necessary changes in the edit mode.

  2. Select the required transition.

  3. Select the Post functions tab and click Add post function.

  4. Add the “Build-your-own (scripted) Post-function (JMWE app)” post-function.

  5. Add the below Nunjucks template:

    1 2 3 4 {{"/rest/api/2/issue/:issue/remotelink" | callJira(verb=("post"),params={"issue":issue.key},body={"object":{ url:"", title:"Innovalog" } }) }}

With this, the URL "" will be linked to the current issue, with the title "Innovalog" - modify them as per your use case.


If this post-function is added on the create transition, select the checkbox “Delay the execution of this post-function” under “Delayed execution” and select a delay of 3 seconds.