Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to log work time from bitbucket when commiting?

Wojtek Pilwinski February 9, 2022

Hello!!!

In my Jira I have automation rule which log work everytime I make commit in bitbucket repository.

And as work description I use commit message with smart value:

{{commit.message}}

 

But I wonder is there any way to get time spent on that commit?

The best way would be for me if I tell developer to add time information in commit.

For example on the end of each commit message he should writ for example 4h, which would mean he was working for 4 hours, and I want to use that value in Log Work in Time spent field.

Is there any custom smart values which catch such things from commit message, or is there any other solution for me?

 

For any help great thanks in advance.

Best Regards

1 answer

1 accepted

1 vote
Answer accepted
Pramodh M
Community Champion
February 9, 2022

Hi @Wojtek Pilwinski 

Developers when commiting the code, can log the work with smart commit syntax

Here's a guide

https://support.atlassian.com/jira-software-cloud/docs/process-issues-with-smart-commits/

Let me know if you have any queries

Thanks,

Pramodh

Wojtek Pilwinski February 9, 2022

He he he, great thanks for your answer.

Actually today I've already been on that link. But when somebody is new and try to make hundreds of things simultaneously, then sometimes it is hard to associate all of them :)

Wojtek Pilwinski February 9, 2022

Hello Pramodh M

So if you allow I would like to ask one more question.

Those smart commits cause that smart things happen and that's great.

But the question is can I use in any way those smart values from smart commit.

For example if I want #time value to use in different action of my Jira automation?

 

For any help great thanks in advance.

Best Regards

Suggest an answer

Log in or Sign up to answer