You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need the following things to create a new activity:
Project ID β done
Issue ID π current focus π―
Start time β οΈ pending
End time β οΈ pending
Message β done
Currently auto-timesheet fetches git-commit-messages from Github and use it as the message for timesheet activity. We need to somehow extract the issue id from commit messages.
Proposal
Just a proposal to start thinking..
Lets use ti#tags with commit messages. While making a commit message, mention the timesheet issue with a hashtag like:
Adds extra details to fetch details api. ti#fetchDetails
(where fetchDetails is the timesheet issue corresponding to our commit)
We can extract that ti# tag and find that issue-id.
How to detect issue-id from extracted tags?
Looks like timesheet uses an api to fetch all issues (description and id) corresponding to a project. We call that api and get those data. Now we've to match our hashtag with the issue description to get the id.
Why ti# ?
Github uses hashtags to map stuffs made in Github itself (PR/issues). Prepending ti (stands for Timesheet Issue) with it resolve that conflict.
How to handling multiple ti# tags in a message ?
If a timesheet msg contains multiple ti# tags, let's choose one in random..
The text was updated successfully, but these errors were encountered:
Opening discussion on Issue tracking
requirement
We need the following things to create a new activity:
Currently
auto-timesheet
fetches git-commit-messages from Github and use it as the message for timesheet activity. We need to somehow extract theissue id
from commit messages.Proposal
Just a proposal to start thinking..
Lets use
ti#tags
with commit messages. While making a commit message, mention the timesheet issue with a hashtag like:(where
fetchDetails
is the timesheet issue corresponding to our commit)We can extract that
ti#
tag and find that issue-id.How to detect issue-id from extracted tags?
Looks like timesheet uses an api to fetch all issues (description and id) corresponding to a project. We call that api and get those data. Now we've to match our hashtag with the issue description to get the
id
.Why ti# ?
Github uses hashtags to map stuffs made in Github itself (PR/issues). Prepending
ti
(stands for Timesheet Issue) with it resolve that conflict.How to handling multiple
ti#
tags in a message ?If a timesheet msg contains multiple
ti#
tags, let's choose one in random..The text was updated successfully, but these errors were encountered: