Show Issues without a current worklog

Issue #475 resolved
Mike Curwen created an issue

This is much like the request in issue

Our usage scenario is similar, but more broad. We would like to use the Timesheet gadget as a way to enter time, but what makes it inconvenient is that one has to first log some work during the current period, before that issue shows up in the gadget.

The complicating factor in our case, is that we'd like certain issues to always be in that grid; they are general timecodes. For example, we've made a "General Hours" jira project, and GH-1 is for "Meetings" and GH-2 is for "Vacation", etc. We'd like these issues to always appear on the bottom of the timesheet gadget (or even, a second timesheet gadget that has a project filter).

I really thought I could fake it out, by switching jira.timesheet.plugin.inProgressClause=status = "In Progress" to jira.timesheet.plugin.inProgressClause=project="General Hours"

but then I saw in that: "The clause is prepended with assignee = currentUser()"

drat. These general codes will never have an assignee. I guess what I'm looking for is a way to broaden the definition of what issues without a worklog, should appear in the gadget.

Comments (8)

  1. Andriy Zhdanov

    resolve Issue#475: rework into inProgressQuery, preserving backward compatibility so that inProgressClause, if set, is prepended with 'assignee = currentUser()'

    → <<cset 41d52c0751a9>>

  2. Mike Curwen reporter

    Thank you for the fast and positive response. I think I've found a bug though - I tried out the feature and it worked. When I then blanked out the JQL query, the timesheet gadget then took a long time to render, and it returned hundreds of issues - I'm not sure what the result is - possibly every issue in the project? every issue I've ever logged time against? Putting back the JQL I wanted, the plugin works again.

  3. Andriy Zhdanov

    Hi Mike,

    I thought I've verified this case, sorry for troubles, fix should be available shortly, by next week.

    Thank you.

  4. Mike Curwen reporter

    Thanks Andriy,

    I have another comment/question for you to consider. Do you think this type of feature might at some point get promoted to a "per gadget" setting? As an example, in the gadget it allows you to specify a project or filter. What about a checkbox directly below this, that says "include issues without worklogs" and then it would work for any JQL a single user might want to include on their own gadgets.

  5. Andriy Zhdanov

    Hi Mike,

    This might be possible someday hopefully, sorry no definite timeline though.

    Thank you.

  6. Log in to comment