Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of contents

Table of Contents
maxLevel2

Introduction

...

Our plugin allows you to change

...

its data via Atlassian API. We use the properties of the issue so you can get, update, delete or create data outside of the plugin UI.


You can preview the data by making a GET request to: https://{ site-url }.atlassian.net/rest/api/2/issue/{ issue.id }/properties/sd-checklists-0

PUT requests are also made to the same endpoint.

...

After acquiring it you will be able to use the API as long as your account have has sufficient permissions.


Below you can find examples using curl and postman, but first, let's check the checklist data structure.

...

We store an array of checklists for every issue separately. Each checklist have has an id, name, and an array of items.

You should always set the version to 1.0.0. It is here to help us detect the version of the checklist our client is using.

...

To make a GET request you need to set a basic auth with your email and API token. Header The header will be generated automatically. Check the screenshot below for an example.:

How to update data:

To make a PUT request you need to set a header, basic auth with your email and API token, and body with data. Check the screenshot below for an example.: