Hi all,
We are missing some comments and i think i found them in cache\indexes\comments.
Do anyone know how to import them into Jira?
I already tried to Re-Index Jira, but this didn't work.
Best Regards,
Lukas
@Josh Carolan I actually had similar problem (no restrictions to the comment). I found it in "Activity" Tab in the history of the issue. The comment was quite long so when I clicked on Read more>>, the issue was reloaded, the URL has changed and comment appeared in the Comments section.
Normal url: xxx/browse/DGN-22623
Is there a possibility that a comment might be too long to appear?
I have only recently started using Jira, but I have noticed that if a comment is made on an issue from the Android app then it would not show in the web client, it is only visible on the Android app, whereas comments, or "updates" as it is labeled on the Web client, made on the web client do show on both the app and the web.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bradley - I am from the Jira Android team.
I just stumbled across this comment by chance, this should not be happening - do you still see this happening/ are you able to reproduce it consistently?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes I have just tried and I am able to replicate. specifically the issue is on Jira Bugs where if I make a "Comment" from the app then neither I, nor anyone else, is able to see the "Comment" from the web client, however it is visible from the App. I have noticed that on Jira Bugs the heading of the "Comments" section is actually "Updates" so I'm thinking that may be the issue - that "Comments" made on the app are not marked as an "Update" and therefor don't show under "updates" in the web client. problem is that as far as I can tell there is no way to select to view "Comments" on the web client. Again this is specifically happening on Jira Bugs, The normal tickets on the sprint management side do show the heading "Comments" and all comments made from the App are visible on the web client and the app.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Interesting - I am not sure what the "Updates" section that you're referring to is, could you share a screenshot?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is the issue that I made a comment on from the Android App
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah right, I see you're on the Jira Ops early access program which has ended. Comments from the Jira Android app will not show up in a Jira Ops issue, however since the early access program has ended, we are migrating the functionality of Jira Ops over to OpsGenie and you will soon not be able to use Jira Ops. You can read more here: https://community.atlassian.com/t5/Jira-Ops-discussions/Concluding-the-Jira-Ops-early-access-program/td-p/1048857
In the meantime if you want to make comments from mobile on Jira Ops issues, you will have to use the mobile web version. Comments for Jira Software, Jira Core or Jira Service Desk issues all work from our apps. Thanks for reporting this I hope that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Maybe you are not missing them. Maybe they were secured to a group or role to which you do not belong.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Exactly my thought too.
Comments don't "go missing" unless bad things happen. It's far more likely that you can't see them in the UI and there's nothing to "import". (And no, "I am an admin" is irrelevant when it comes to it, admin means admin, not "I can arbitrarily see stuff that I might not want to as a user")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I pretty sure i'm missing them.
I received a notification mail which contains the comment.
When i open the link and i got forwarded to the issue, the comment is not displayed.
Best Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In scriptrunner console execute
import com.atlassian.jira.component.ComponentAccessor
def issue = ComponentAccessor.getIssueManager().getIssueByCurrentKey("issuekey")
ComponentAccessor.commentManager.getComments(issue).each{ it -> log.error(it.getBody()) }
And see if your comment is there
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Everytime I got this Error
2017-11-07 10:58:45,911 WARN [common.UserScriptEndpoint]: Script console script failed:
java.lang.NullPointerException
at com.atlassian.jira.issue.managers.DefaultIssueManager.getEntitiesByIssueObject(DefaultIssueManager.java:410)
at com.atlassian.jira.issue.managers.RequestCachingIssueManager.getEntitiesByIssueObject(RequestCachingIssueManager.java:155)
at com.atlassian.jira.issue.comments.CommentSearchManager.getComments(CommentSearchManager.java:106)
at com.atlassian.jira.issue.comments.DefaultCommentManager.getComments(DefaultCommentManager.java:174)
at com.atlassian.jira.issue.comments.CommentManager$getComments.call(Unknown Source)
at Script1.run(Script1.groovy:3)
Best Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the script above change issuekey to the key of the issue for which a comment is missing. When you execute the script you will see the comment. If you see it, then you just do not have permissions to view the comment. The script above will show you all comments without paying attentions to permissions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
At first, thanks for the fast response.
I've got the same comments as in the ticket, but the missing one is not listed.
Any other suggestions?
Best Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could it be possible the comment was posted, you received the mail, and after that the owner edited the comment and changed the visibility?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
That was my first thougt too, but i checked it and the comment writer changed nothing.
Best Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.