Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,290
Community Members
 
Community Events
184
Community Groups

Attachment version issue in JSD

Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 28, 2021

In JIRA service desk 4.13.1, I found a strange issue. Uploaded files gets versioning added to it.

Steps to reproduce:
Scenario 1: 
1. Upload file (example: file.txt) and click "Cancel". 
2. Try to upload same file again (file.txt). DO NOT click any other buttons

*Actual result* : File gets attached with name having version like *file-1.txt*
*Expected Result* : File name should not have version in it


Scenario 2:
1. Now attach Same file (file.txt) in any other ticket in same project or different ticket in other project
*Actual result* : File gets attached with name having version +1 (example name: file-2.txt)
*Expected Result* : File name should not have version in it

2 comments

Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 01, 2021

Seems this is a bug, "cancel" action should delete the reference in tempattachmentsmonitor table. 

After enabling SQL logging, when attachment is uploaded a reference for the attachment is stored in tempattachmentsmonitor  table.

As a workaround, I have deleted the row in tempattachmentsmonitor table (restart not required) and upload worked fine. 

Daniel Ebers
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 05, 2021

Hi @Rilwan Ahmed

although the description reads a bit different I am pretty sure the underlying cause is the same like for a Suggestion dealing with improvements of attachment records in database:

Bad news here is that the Suggestion was closed some years ago.

My idea: in case this should be blocking your team in a significant way I'd encourage you to create a new Bug over there.

Regards,
Daniel

Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 05, 2021

Atlassian agreed this as a bug and asked to follow :  https://jira.atlassian.com/browse/JRASERVER-70829

Expected result: "Cancel" action should delete the reference in tempattachmentsmonitor table.

Comment

Log in or Sign up to comment