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,409,300
Community Members
 
Community Events
169
Community Groups

Add/Deleting remote issue links through restful api can cause the page to keep circling

Add/Deleting remote issue links through restful api can cause the page to keep circling删除链接页面一直加载.jpg

2 answers

0 votes

The REST API has nothing to do with the UI.

Could you explain in more detail what you are doing, and what the problem actually is?

The custom IssueEventListener listener is created. The current work order is modified through the REST API in the listener, causing a transaction conflict and locking the Project.issue table

I'm sorry, I need more explanation.

A listener will pick up an event and (maybe) make a change to an issue.  A REST API call will ask a system to do something.  

Even if someone clicks edit at the same time that one or both of those are running, they'd need to be doing it within microseconds of the other actions for a conflict to happen, and even then, Jira would just sequence the changes as they arrive.

So, I am a bit stuck on what the problem is.

What do you get on screen when you have a "transaction conflict"?  What do you mean by "locking the project.issue table" (there isn't a project.issue table, and more importantly, are you actually looking at the database?  Why?)

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events