---
title: "Add a web link to an issue"
canonical: "https://support.appfire.com/space/JMWE/461701813/Add%20a%20web%20link%20to%20an%20issue"
format: markdown
---
> Macro (aura-html)

This article provides the code snippet to add a web link to an issue, using [Scripted (Groovy) operation on issue (JMWE app)](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/78057485) post-function.

## Instructions

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 “Scripted (Groovy) operation on issue (JMWE app)” post-function.
5. Add the below Groovy script:

With this, the URL "[https://innovalog.atlassian.net/wiki](https://innovalog.atlassian.net/wiki)" will be linked to the current issue, with the title "Innovalog" - modify them as per your use case.

![image](media://1d4ba5ba-83d1-40bd-9a3e-1b474b38440e)


> ℹ️ If this post-function is added on the create transition, move it below “Creates the issue originally.” built-in post-function.

### References

- [issue variable](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/78055921)
- [Accessing the fields of an issue](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/461537562)
- [currentUser variable](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/78055921)