Hi,
I have trouble or maybe misunderstanding how it work, that the UI is updating after I sent a PUT to update the issue per rest.
I create a timerecording connect-app. After creating a timerecord, the ‘remainingEstimate’ will also be updated.
What I expect, is that the field shows the new value, but it does it only after refresh the issue. (for information, the PUT is working as expected)
My PUT: (“atlassianApiCall” is a helper I created)
`atlassianApiCall({
url: `/rest/api/3/issue/${issueInformation.issueId}`,
type: "PUT",
data: {
fields: {
timetracking: {
remainingEstimate: "2h",
originalEstimate: "1d",
},
},
},
});`
What I don’t want to do is .then(() => AP.jira.refreshIssuePage());
Because it restarts the connect-app in issueContext and that is not a great UX.