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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,460,251
Community Members
 
Community Events
176
Community Groups

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

0 votes
Answer 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.)

 


 

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

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

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events