Add update endpoint to external share API

Description

Currently, the API allows generating new share links but lacks the capability to update existing links.
Introduce an endpoint that enables the updating of an existing UUID link.


EXAMPLE EDIT
endpoint
https://jes-qa.warsawdynamics.com/webapi/share/{YOUR-ISSUE-UUID}

{
    "projectKey": "SC",
    "projectId": "10007",
    "name": "SC test timeline",
    "description": "dd",
    "type": "JQL",
    "jql": "project = \"SC\" order by Rank ASC",
}

try to break it
do some illogical stuff with it

it is a potential gateway for exploiting and getting data in unintended way

Linked issues

is cloned by
Issue Type Icon ESFC-447 Add update endpoint to external share API Priority: Medium
Released

Activity

Automation for Jira 14 October 2024, 10:06

Hello @Miłosz Jaskólski,

Please merge code to dev branch.
This is the best moment to add more information that can be helpful to prepare release notes.

  • Can you prepare short overview of change that can be used in release notes?

  • Please provide short GIF that showcase feature.

  • If GIF make no sense, can you provide image that highlights feature that can be used in release notes (cropped & annotated)?

Polina Naumenko 14 October 2024, 10:06

Task verified - QA env

Polina Naumenko 2 October 2024, 09:34
Miłosz Jaskólski 26 September 2024, 15:40

@Mariusz Szymański added few changes for better UX (Polina’s comment below). Please re-review.

Polina Naumenko 23 September 2024, 13:03

Suggestion:

  • separate cases for “name” with empty field and ““ → to get a warning when “name” field is empty

  • “description” field accepts 4096 characters → maybe worth mentioning in some sort of warning

  • convert “Roadmap” issue type to “Timeline” when a request is send with older issue type name

Automation for Jira 19 September 2024, 12:54

Hello @Miłosz Jaskólski

This is the best moment to add more information that can be helpful for tester.

  • What areas are affected?

  • What are potential edge cases?

  • Was it checked for XSS problems?

  • Does change affect security, is new data exposed?

Please attach - Before / After screenshot if possible.

Miłosz Jaskólski 18 September 2024, 13:02

@Mariusz Szymański 🏓

Automation for Jira 12 September 2024, 16:51

Hello @Mariusz Szymański,
Task is ready for review.

@Miłosz Jaskólski please make sure reviewer
have easy access to contend to be reviewed.

If this is code change. Please make sure PR is created.
If this is new documentation, blogpost, etc. Please provide link to page.