Forums

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

Links Hierarchy does not update after the Issue summary change.

Paweł Jakimiak
Contributor
February 27, 2018

Hi,

I created script, who change summary each issue linked to issue in which I change "summary". 
Unfortunately, after change summary, this change is not visible in Links Hierarchy tree, and in results of JQL query.
This change is visible after opened linked issue and is saved in database.
If I click "edit" on linked issue and I click "Save", new summary is visible on JQL results and in Links Hierarchy.

My script saving changes using store() function. I know that this function is deprecated, but when i trying use updateIssue() from IssueManager, I received error about null object.


For example:
This is old summary:

old_summary.PNG
And names of linked issue to PM-754:

linked_old.PNGNow I change summary for PM-754 (I add "2" in summary):
new_summary.PNG

And new summary is visible in "Issues in Epic" list:
linked_new.PNG
But Links Hierarchy showing old summary:
links_hierarchy.PNGWhy? When i clicked - for example - on PR-628, summary is "Nowa nazwa 2".

When i perform full reindexing, Links Hierarchy showing correct values.

1 answer

1 accepted

0 votes
Answer accepted
Paweł Jakimiak
Contributor
February 28, 2018

Hi. I solved problem. The reason was using "store()" function instead  "updateIssue()".
I was able to run the function with IssueManager object.

Suggest an answer

Log in or Sign up to answer