au-heartbeat / Heartbeat

Heartbeat is a tool for tracking project delivery metrics that can help you get a better understanding of delivery performance. This product allows you easily get all aspects of source data faster and more accurate to analyze team delivery performance which enables delivery teams and team leaders focusing on driving continuous improvement and enhan
https://au-heartbeat.github.io/Heartbeat/
MIT License
12 stars 15 forks source link

[Bug] Null pointer when flag field enabled, and mark card as flag before move to in progress #1618

Open TKJohn opened 1 month ago

TKJohn commented 1 month ago

Contact Details

TKJohn

Version

1.3.0

What browsers are you seeing the problem on?

No response

Pages

Report

Tools

Board

Summary

https://github.com/au-heartbeat/Heartbeat/blob/1f65550a8e353e22342b90f4fce685e3f2ab6ba5/backend/src/main/java/heartbeat/service/board/jira/JiraService.java#L669

->

        AtomicReference<CardStepsEnum> currentState = new AtomicReference<>(TODO);

Steps to Reproduce

when flag field enabled, mark card as flag before move to in progress. View rework report

Current Behavior

Infinite loop

Expected Behavior

report seen

Any additional comments?

exceptions in async need to be handled / logged properly

github-actions[bot] commented 1 month ago

Hi @TKJohn! :wave: Thank you for creating an issue in our repository! We appreciate your contribution and will get back to you as soon as possible.