kalapuc10 / atlassian-forge-education

Atlassian Forge Education

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Checklist for Jira Cloud, built with Forge

This is a demo app built with Atlassian Forge that adds a checklist panel to Jira issues. The app shows off some platform capabilities and is intended to be used as educational material.

Screenshot of the Checklist for Jira Cloud

Forge is Atlassian's new hosted Functions-as-a-Service platform. You can write functions in a subset of Node within the context of Confluence and Jira and return React-like UI components.

Features

  • Create, check/uncheck and delete list items
  • Simple concurrency handling, when multiple people are modifying the same list

Limitations

  • The current Forge UI components have limited configuration options, particularly around layout and user event handling
  • The UI actions have noticeable latency, even in production mode

Quick start

forge deploy
  • Install the app in a Jira Cloud site by running:
forge install
  • To proxy app invocations to your development local environment:
forge tunnel

Architecture

The app implements an Issue Panel with a simple UI that contains a Form with a TextField for new item entry and a Table component to render the list (this is currently the only way to render buttons and text on one line).

The state of the list is stored as JSON in the Issue Property using the useIssueProperty hook.

To support concurrency, the app:

  • Assigns unique ids on checklist items
  • Reloads the list before each modification

Project directory overview

  • manifest.yml - A Forge app manifest that defines two modules:
  • src/
    • index.jsx - app's entry point
    • components/ - UI components
    • hooks/ - custom React-like hooks

Forge features used

The app uses the following Forge platform functionality:

About

Atlassian Forge Education

License:MIT License


Languages

Language:JavaScript 100.0%