Automatic Post Time to Traker

I am using JIRA Software as Issue tracker, I want to automatically post the time spent on the task when closing it. 

I know I can manually sent it, but I want it to be automatic. 

Is it possible? if so, how can I achieve this?

1
7 comments

Yes it's possible if you share your repo on Bitbucket or GitHub. Tak a look at: https://confluence.atlassian.com/bitbucket/processing-jira-software-issues-with-smart-commit-messages-298979931.html

Then just configure your Jira server connector -> tab "Commit message" and put there something like that (without quotes): "{id} #time {time spent on task}"

If you enable commit during closing task, IDE adds time you have spent on your task to the commit message which will be recognized then by Jira.

 

0

Hello and thank you, the following code is not working for me, what can I do?

{time spent on task}

 

0

By not working you mean that IDE doesn't convert this phrase into real time format during commit?

If yes, I can't help more. Maybe someone from JetBrains will help you as it's editor issue.

0

Hello, Yes, the IDE does not convert the phrase. 

How can someone from JetBrains help here?

0

I need a bit different but the same :)

How to set automatically periodically post time spent to bugtracker?
Some tasks needs more than one day to resolve and our PM doesn't have actual information for planning

0

How to set automatically periodically post time spent to bugtracker?

In the list of related issues, there's a request for automatic posting on commit, please vote: https://youtrack.jetbrains.com/issue/IDEA-273280

0

Please sign in to leave a comment.