tcsc / ffs Goto Github PK
View Code? Open in Web Editor NEWExtract a timesheet from JIRA work logs
License: MIT License
Extract a timesheet from JIRA work logs
License: MIT License
Add a group by project option to the grouping system. Would be helpful for dev working on multiple projects.
The error display when you get your password wrong is a spew of illegible packed JSON:
Fetching issues worked on...
Failed: StatusCodeException (Response {responseStatus = Status {statusCode = 401, statusMessage = ""}, responseVersion = HTTP/1.1, responseHeaders = [("X-AREQUESTID","1386x204880x1"),("X-ASEN","SEN-8488454"),("X-Seraph-LoginReason","AUTHENTICATED_FAILED"),("WWW-Authenticate","OAuth realm=\"https%3A%2F%2Fjira.pi.planetinnovation.com.au\""),("X-Content-Type-Options","nosniff"),("Content-Type","text/html;charset=UTF-8"),("Transfer-Encoding","chunked"),("Date","Mon, 14 Aug 2017 13:06:12 GMT")], responseBody = (), responseCookieJar = CJ {expose = []}, responseClose' = ResponseClose}) "\n\n\n\n\n\n\n\n\n\n<html>\n\n<head>\n <title>Unauthorized (401)</title>\n \n\n\n\n<!--[if IE]><![endif]-->\n<script type=\"text/javascript\">\n (function() {\n var contextPath = '';\n var eventBuffer = [];\n\n function printDeprecatedMsg() {\n if (console && console.warn) {\n console.warn('DEPRECATED JS - contextPath global variable has been deprecated since 7.4.0. Use `wrm/context-path` module instead.');\n }\n }\n\n function sendEvent(analytics, postfix) {\n analytics.send({\n name: 'js.globals.contextPath.' + postfix\n });\n }\n\n function sendDeprecatedEvent(postfix) {\n try {\n var analytics = require('jira/analytics');\n if (eventBuffer.length) {\n eventBuffer.forEach(function(value) {\n sendEvent(analytics, value);\n });\n eventBuffer = [];\n }\n\n if (postfix) {\n sendEvent(analytics, postfix);\n }\n } catch(ex) {\n eventBuffer.push(postfix);\n setTimeout(sendDeprecatedEvent, 1000);\n }\n }\n\n Object.defineProperty(window, 'contextPath', {\n get: function() {\n printDeprecatedMsg();\n sendDeprecatedEvent('get');\n return contextPath;\n },\n set: function(value) {\n printDeprecatedMsg();\n sendDeprecatedEvent('set');\n contextPath = value;\n }\n });\n })();\n\n</script>\n<script>\nwindow.WRM=window.WRM||{};window.WRM._unparsedData=window.WRM._unparsedData||{};window.WRM._unparsedErrors=window.WRM._unparsedErrors||{};\nWRM._unparsedData[\"com.atlassian.plugins.atlassian-plugins-webresource-plugin:context-path.context-path\"]=\"\\\"\\\"\";\nWRM._unparsedData[\"jira.webresources:feature-flags.feature-flag-data\"]=\"{\\\"enabled-feature-keys\\\":[\\\"com.atlassian.jira.agile.darkfeature.editable.detailsview\\\",\\\"nps.survey.inline.dialog\\\",\\\"jira.plugin.devstatus.phasetwo\\\",\\\"jira.frother.reporter.field\\\",\\\"atlassian.rest.xsrf.legacy.enabled\\\",\\\"jira.issue.status.lozenge\\\",\\\"com.atlassian.jira.config.BIG_PIPE\\\",\\\"com.atlassian.jira.projects.issuenavigator\\\",\\\"com.atlassian.jira.config.PDL\\\",\\\"jira.plugin.devstatus.phasetwo.enabled\\\",\\\"atlassian.aui.raphael.disabled\\\",\\\"app-switcher.new\\\",\\\"frother.assignee.field\\\",\\\"com.atlassian.jira.projects.ProjectCentricNavigation.Switch\\\",\\\"jira.onboarding.cyoa\\\",\\\"com.atlassian.jira.agile.darkfeature.kanplan.enabled\\\",\\\"com.atlassian.jira.config.ProjectConfig.MENU\\\",\\\"com.atlassian.jira.projects.sidebar.DEFER_RESOURCES\\\",\\\"jira.zdu.admin-updates-ui\\\",\\\"jira.zdu.jmx-monitoring\\\",\\\"sd.sla.improved.rendering.enabled\\\",\\\"sd.new.settings.sidebar.location.disabled\\\",\\\"jira.zdu.cluster-upgrade-state\\\",\\\"com.atlassian.jira.config.CoreFeatures.LICENSE_ROLES_ENABLED\\\",\\\"com.atlassian.feedback.feedback-button-move-to-header-enable\\\",\\\"jira.export.csv.enabled\\\"],\\\"feature-flag-states\\\":{\\\"sd.customer.profile.multi.languages\\\":true,\\\"sd.customer.portal.transitions\\\":true,\\\"sd.customer.portal.transitions.config\\\":true,\\\"sd.custom.email.stripping.rules\\\":false,\\\"sd.sla.lucene.issue.id.callback.performance\\\":true,\\\"sd.new.settings.sidebar.location\\\":true,\\\"sd.sla.wh.calendar.import\\\":false,\\\"sd.workload.report.paginator\\\":true,\\\"sd.experimental.portal.search.algorithm.default.1\\\":false,\\\"sd.customer.portal.help.center.agent.announcement\\\":true,\\\"sd.sla.improved.rendering\\\":false,\\\"sd.experimental.portal.search.algorithm.default.2\\\":false,\\\"sd.custom.email.notifications.utf8.csat.star\\\":true,\\\"sd.who.create.customers.by.email.setting\\\":true,\\\"sd.stats.event.tracking\\\":true,\\\"sd.password.helper.dialog\\\":true,\\\"sd.portal.help.center.customer.signup.secondary.email\\\":true,\\\"sd.custom.email.notifications.manage.language\\\":true,\\\"sd.use.search.by.permissions\\\":true,\\\"sd.report.custom.date.range\\\":false,\\\"sd.kb.article.helpfulness.report\\\":false,\\\"sd.custom.email.notifications.styling\\\":true,\\\"sd.customer.portal.two.step.login\\\":false,\\\"sd.automation.psmq.async.executor\\\":true,\\\"sd.customer.org.list.page.lazy.search\\\":true,\\\"sd.approval.requested.when.handler\\\":true,\\\"sd.request.type.field.rest.api.filtering.bugfix\\\":true,\\\"sd.automation.then.action.auto.answer.approval\\\":false,\\\"sla.will.only.be.paused.if.they.are.already.started\\\":true,\\\"sd.kb.comment.share.stats.collection\\\":true,\\\"com.atlassian.jira.upgrade.startup.fix.index\\\":true,\\\"sd.customer.orgs.group.participants\\\":true,\\\"sd.portal.help.center.customer.signup\\\":true,\\\"sd.sla.agent.jql.security.restricted\\\":true,\\\"sd.test.feature.flag.x\\\":true,\\\"sd.test.feature.flag.y\\\":false,\\\"sd.cluster.safe.mail.channel.shutdown\\\":true,\\\"sd.email.channel.folders\\\":false,\\\"sd.email.analytics.open\\\":false,\\\"sd.kb.project.creation.create.link.space\\\":true,\\\"sd.confluence.anonymous.permission.fix\\\":true,\\\"sd.customer.portal.project.agent.announcement\\\":true,\\\"sd.automation.audit.log\\\":true,\\\"jira.jql.suggestrecentfields\\\":false,\\\"sd.new.project.templates\\\":true,\\\"sd.custom.email.notifications.custom.rules.simple.ui\\\":false,\\\"sd.custom.email.notifications.cut.over\\\":true,\\\"sd.sla.configurations.export\\\":false,\\\"com.atlassian.jira.agile.darkfeature.kanplan\\\":false,\\\"jira.instrumentation.laas\\\":false,\\\"sd.kb.self.service.report\\\":false,\\\"sd.no.schedule.async.upgrade.tasks\\\":false,\\\"sd.kb.primary.nav\\\":true,\\\"sd.kb.issueview.panel.phase2\\\":true,\\\"sd.email.outsider.comments\\\":true,\\\"jira.create.linked.issue\\\":true,\\\"sd.kb.issueview.panel\\\":true,\\\"sd.approvals.light.weight\\\":false,\\\"sd.automation.then.webhook\\\":true,\\\"sd.respect.inline.edit.issue.off\\\":true,\\\"jira.jql.smartautoselectfirst\\\":false,\\\"sd.global.portal.search.atlassian.only.tracking\\\":false,\\\"sd.automation.if.condition.comment.primary.action\\\":true,\\\"sd.sla.workinghours.querydsl\\\":true}}"
It should be "You got your password wrong"
It's not always useful to just get a report for the current week. What if
The JIRA host uses its own timezone when interpreting the search data range, but the work log filter in ffs
uses the client's timezone. This means that work log items can be lost when querying JIRA from a machine with a different timezone.
Proposed fixes:
Output in a machine-friendly format
Make passing the user you want to look up optional when parsing the command line. If no user is specified, fall back to JIRA login.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.