Forums

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

JIRA REST API - Data not updating in JIRA structure

pritchsc
Contributor
February 20, 2023

Hi all, 

Just observed the following making JIRA REST call to update a fix.version in my JIRA instance. Any suggestions on how to identify root-cause would be much appreciated. 

Context: 

I've created a script to read fix.version dates from one project, and then replicate the release date to other projects where there is a matching fix.version of the same name. Simple PHP script read, compare, write. This works without error. Next, I'm using a JIRA structure view to list all the features from all projects grouped by fix.version and project. In this structure, I have added a formula column called "Milestone" to display the fix.version release date of the given issue. This code works as expected. 

Scenario: 

1. Run REST API script from project A, and Project B, where fix.version name field matches, we get the releaseDate from project B  

2. Update project A fix.version with releaseDate

3. Go to project admin for Project A check version and release dates are as expected.

4. Go to JIRA structure view. Expected to see Milestone column update with releaseDate based on updated fix.version, but date is missing. 

5. Go to project A, open fix.version to edit (already populated), and save (no changes made).

6. Go back to JIRA structure view - Milestone is populated! 

Somewhere, there is a save event that seems to not be taking place in the JIRA REST update. No errors are present when I run the command.

Any help would be appreciated. 

Thanks! 

1 answer

0 votes
pritchsc
Contributor
February 20, 2023

Resolved after much digging. 

Curtis McIntyre April 9, 2023

Anything that you are willing to share on this resolution?

Suggest an answer

Log in or Sign up to answer