Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Specify assignee during smart commit

During workflow transitions, I want to mention assignee as well.

 

For example, I'm done with necessary code implementation, and now want to transition my task from "In Progress" to "Code Review". This can be done by:

JIRA-XX #time XXm #comment AA BBB CCCC #code-review

 

 

But then, I still have to visit JIRA dashboard only to update assignee to someone else who are suppose to review my code.

 

Is it possible to do so in above command itself?

 JIRA-XX #time XXm #comment AA BBB CCCC #code-review [~ana]

where,

~ana : JIRA's representation for user/member (Ana)

 

Thank you.

 

4 answers

1 accepted

You can't do that, but you can put it in the comment and have them get notified. In theory you could have a post function on the transition which parses the comment and changes assignee, but that would be pretty hacky.

2 votes

With the Genius Commits feature of the Better DevOps Automation app you can perfectly do that!

Even better, it allows you to create your own commands!

You could introduce something like:

FOO-123 @code-review Fixed the NullPointerException! ~john.doe

... where the "code-review" command will move FOO-123 to a new status, add the "Fixed the NullPointerException" text as comment and assign the issue to the user "john.doe". You can freely customize your preferred syntax for the command and its parameters and also customize the logic behind the command!

devops-automation-for-jira-commands

Note that it is a Jira app but it integrates with the Bitbucket instance linked to Jira.]

(Disclaimer: I'm a developer in the team that supports this app.)

 


 

Interesting. You could use a Jira transition rule that assigns back to a reporter (or some other default logic) when moved to the code review status. You can try workflow triggers https://confluence.atlassian.com/adminjiraserver075/configuring-workflow-triggers-935391509.html

Hey together,

you can use the add-on Smart Commits for Bitbucket .

The add-on provides 12 further smart commit actions.

For example: TEST-1 #assignee mueller

 

Cheers

Benni

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Bitbucket

How do you use the Bitbucket-Jira integration? How does it help your team?

Hey everyone, over the past year, we've added several new features on how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your t...

84 views 0 2
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you