Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Updating the sprint via the REST API is not reflected in the UI

Marcel Ammerlaan January 6, 2023

I've moved over from an inhouse Jira to a cloud jira using an export/import as the default migration tools are unsuitable for our setup. The 'sprint' field for issues is not imported, so I wrote a simple tool to update the sprint value of each ticket using the rest API call:  "Move issue to sprint and rank". I see the sprint field is updated for the issues, but the backlog view of the tickets does not show the correct sprints. If I manually update the sprint field of an issue, it does show up in the correct place of the backlog.

Seems to me, the rest API is forgetting to update something related. As I'm still migrating we are on the free plan, so hence a support question here. If anyone else can confirm this bug, I will raise an issue with Atlassian next week if we decide to go forward with cloud and move to a paid plan.

2 answers

0 votes
Sunny Ape
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 6, 2023

Hello @Marcel Ammerlaan 

I have just run a test on Jira Cloud and cannot replicate the problem you have described.

  1. I have an issue of the type Story visible in the backlog via the GUI
  2. I use the Move issue to sprint endpoint to move that issue to a particular sprint
  3. I refresh the page of the GUI and the issue is now showing in the desired sprint, not the backlog

Jira move issue to sprint.png

Marcel Ammerlaan January 8, 2023

I found the problem: the sprints have been duplicated, so there are two identically named sprints. The API call did work, I just didn't notice the duplication. Thanks.

0 votes
Marcel Ammerlaan January 6, 2023

To add to this: using a bulk update via the UI shows the same problem: the tickets are updated, but the backlog isn't.

Sunny Ape
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 6, 2023

deleted

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events