Hello,
My organization has developed a script to export JIRA issues into an XML format, pass them through translation software, and then use the API to edit the JIRA issues to post the translations.
Content is marked as needing translation by adding a mention to a specific account ("accountname" below). We have a query that looks for these issues, something like:
project in (XXX) AND text ~ accountname
The API is successfully able to post the translation, which involves editing the target item (description or comment) to delete the request mention and paste in the translation content. However, after we do this, the issue still shows up in the query, even though the "accountname" text has been removed from the entire issue.
We verified the JSON and found that the only place the text still exists is in an "oldDisplayValue" field:
"oldDisplayValue" : "Testing auto-translation[~accountname]",
We want to continue to use the query as a visual check to make sure that all of the issues marked for translation have been picked up and handled, but because of the false positives, we currently have to go to each post after the API edits it and do another manual edit (just open it and save so the "last edited" user changes). This removes it from the query.
Anybody know why this is not working?