Issues commented by me in JIRA

后端 未结 11 1130
你的背包
你的背包 2021-02-02 07:00

As per JIRA documentation http://www.atlassian.com/software/jira/docs/latest

The following filter will show the issues opned by me (Current User).

repor         


        
相关标签:
11条回答
  • 2021-02-02 07:50

    The new scriptrunner can do lots of things e.g. find issues with comments issueFunction in hasComments(), find issues with comments that are not older than 7 days issueFunction in commented("after -7d") and also issue comments from users or groups.

    Details can be found here: https://jamieechlin.atlassian.net/wiki/display/GRV/Scripted+JQL+Functions#ScriptedJQLFunctions-commented(commentquery)

    0 讨论(0)
  • 2021-02-02 07:52

    This (to my knowledge) cannot be completed using JQL, even with a plugin. If you have DB access, the query is simple:

    SELECT pkey, summary FROM jiraissue, jiraaction WHERE jiraissue.id = jiraaction.issueid AND author = '<insert_jira_username>';
    
    0 讨论(0)
  • 2021-02-02 07:53

    if you know the name of the user (lets assume the name is Tom you can do:

    issueFunction in commented("by Tom")

    you can also filter it by date of the comment like:

    issueFunction in commented("after -1d by Tom")

    UPDATE: this requires ScriptRunner being installed in JIRA server (as JBert pointed out)

    0 讨论(0)
  • 2021-02-02 07:54

    This is the query to know the issues I am involved in:

    SELECT a.pkey, a.summary FROM jiraissue AS a left join jiraaction AS b on a.id = b.issueid 
    where b.author = 'jira_username' OR a.REPORTER = 'jira_username' OR a.ASSIGNEE = 'jira_username' 
    group by a.pkey order by a.CREATED
    

    This is the query to know all issues raised in the last 24 hours.

    select REPORTER, SUMMARY from jiraissue 
    WHERE CREATED > DATE_SUB(CURDATE(), INTERVAL 1 DAY)  order by CREATED DESC; 
    
    0 讨论(0)
  • 2021-02-02 07:54

    In JIRA v7.3.0, the watcher field works well, if autowatch is enabled:

    watcher = currentUser()

    How to enable Profile > Preferences > Autowatch : [inhert, disabled, enabled]

    Issues that you create or comment on will automatically be watched for future changes.

    0 讨论(0)
提交回复
热议问题