Is this possible?
What I´m trying to achieve is to have a filter results gadget on my dashboard that shows me issues that I need to respond to; I´m the assignee, but last comment is made by someone else than me.
I hope my need is clear and someone has an excellent and simple solution
Hello Sandra,
You can filter by the assignee as the following:
reporter = currentUser()
But you can't filter by comments, for this I'd suggest you to set your user as a watcher on the following issue:
Hi and thanks. I know about the basic filters. It's the comment one I need. I´m hoping there is a workaround to achieve this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think there is no way to achieve this without an add-on.
One way to do this would be to create a plugin with a JQL function in it that returns the user who created the last comment. This may be slow, however.
An alternative approach which will give faster queries would be to add a lastCommenter custom field which can be searched in JQL.
Then you can either
1) create a listener (in a plugin) which stores the editor or creator of the last comment in that custom field whenever a EventType.ISSUE_COMMENT_EDITED_ID, EventType.ISSUE_COMMENT_EDITED_ID, or EventType.ISSUE_COMMENTED_ID event occurs.
2) use the JIRA automation plugin to create a rule that has an issue event trigger and check for the above events and you will still need to create a custom action which sets the lastCommenter custom field from the comments.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no other way to accomplish this right now without any add-on. If you wish to go that route, you need the JIRAScript runner plugin and a few scripting/coding skills.
A lot of projects are using this, even Atlassian Support site. You can ask them what they did if they are willing to share exactly, even the codes/script
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.