---
title: "SIL Context"
canonical: "https://support.appfire.com/space/PSJ/15489430/SIL%20Context"
format: markdown
---
> Macro (aura-html)



| Event | Additional Parameters | Notes |
| --- | --- | --- |
| Version Archived | 4. version ID<br>5. string representation of a [Version ](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15487117)structure. You can retrieve this value and then cast it to a "Version" structure. | Version v = (Version) argv[4];<br>To get a structure with the changed version, use the [getVersionFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15480892) function. |
| Version Created |
| Version Moved |
| Version Released |
| Version Unarchived |
| Version Unreleased |
| Version Merged | 4. version ID<br>5. string representation of a [Version ](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15487117)structure. You can retrieve this value and then cast it to a "Version" structure.<br>6. merged version ID<br>7. string representation of the merged version (cast-able to Version, similar to 5). | Even though you can merge multiple versions into one at once, Jira API only provides reference to a single merged version.<br>To get a structure with the merged version, you can use the following functions: [getMergeToVersionFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481322), [getVersionFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15480892). |
| Version Updated |  | <span style="color: #000000">To get a structure with the updated version, you can use the </span>[getOldVersionFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481179)<span style="color: #000000"> function.</span> |
| Version Deleted | 4. version ID<br>5. empty (the version is already deleted at this point and details are no longer available) | To get a structure with the deleted version, you can use the following functions: [getMergeToVersionFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481322), [getFixVersionSwappedToFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15480806), [getAffectsVersionSwappedToFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481247). |
| Project Created | 4. project ID<br>5. string representation of a [Project](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15487117) structure. You can retrieve this value and then cast it to a "Project" structure | <span style="color: #000000">To get a structure with the created project, you can use the </span>[getProjectFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481117)<span style="color: #000000"> function.</span> |
| Project Deleted | 4. project ID<br>5. project KEY (the project is already deleted at this point and details are no longer available) | <span style="color: #000000">To get a structure with the deleted project, you can use the </span>[getProjectFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481117) <span style="color: #000000">function.</span> |
| Project Updated |  | <span style="color: #000000">To get a structure with the updated project, you can use the </span>[getOldProjectFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481262) <span style="color: #000000">function.</span> |
| Component Created |  | <span style="color: #000000">To get a structure with the created component, you can use the </span>[getComponentFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481025) <span style="color: #000000">function.</span> |
| Component Merged |  | <span style="color: #000000">To get a structure with the merged component, you can use the </span>[getComponentFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481025)<span style="color: #000000"> or </span>[getMergeToComponentFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15480605) <span style="color: #000000">function.</span> |
| Component Deleted |  | <span style="color: #000000">To get a structure with the deleted component, you can use the </span>[getComponentFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15481025)<span style="color: #000000"> function.</span> |
| Component Updated |  | <span style="color: #000000">To get a structure with the updated component, you can use the </span>[getOldComponentFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15480542) function<span style="color: #000000">.</span> |
| User Created |  | <span style="color: #000000">To get a structure with the created user, you can use the </span>[getNewUserFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15486914)<span style="color: #000000"> function.</span> |
| User Updated |  | To get structures with the updated user, you can use the [getNewUserFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15486914) and [getOldUserFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15480800) functions. |
| User Deleted |  | To get a structure with the deleted user, you can use the [getDeletedUsernameFromEvent](https://appfire.atlassian.net/wiki/spaces/PSJ/pages/15480478) function. |