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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

New automation triggers across Jira Cloud, Bitbucket, GitLab & Github!

73 comments

Hi all,

We have GitHub organization integrated with Jira via the GitHub for Jira app but I am not seeing github as a Git provider when attempting to create rules around PR created/merged etc. Has anyone else run into this issue and have some advice for us?

Thanks,

Donald

Shilpa Airi Atlassian Team Jul 07, 2020

@Donald Green The rules are Git provider agnostic and are triggered by Git events from the linked repository when a Jira issue is mentioned in the Commit or PR comments. Let us know how you go with it. 

@Shilpa Airi Ah okay I see now. Thank you for that clarification and for responding so quickly ;D. After mentioning a ticket using smart commits I can see the Automation rules now allow me to setup triggers based on repo activity. I will definitely be experimenting with this to help improve our flow ;D. Thanks again!

Please let me know when these triggers will be available for Jira Data Center

I am also curious when these triggers will be available in JIRA Server

Hi @Daniel Di Martino @John Pampers 

At this stage, there are no plans to add these triggers to Data Centre / Server. 

John

Where can I get a list of smart values for this activation?

Shilpa Airi Atlassian Team Jul 16, 2020

Hi @Chris Lewis ,

Please refer to https://support.atlassian.com/jira-software-cloud/docs/smart-values-development/ for smart values you can use with these new triggers. 

 

Shilpa. 

Like Chris Lewis likes this

Regarding the smart values, I'm missing the possibility to determine which user created the branch. In my rule I can transition the issue on branch creation, but I haven't found a way to determine the user that did it, so I can assign the ticket to them.

I have tried "User that triggered the rule" but this doesn't do anything. And if I activate the board rule to assign the ticket to the current user when moving to a certain state (column), then it assigns to Automation for Jira, so I had to deactivate this simple feature and replace it with an Automation rule that excludes Automation for Jira from the assignment list.

Mo Beigi Atlassian Team Jul 17, 2020

Hi @Mark Nelissen,

There was a discussion about this use case but we have not made a decision yet. There is no easy way to securely map the user identifying information tied to DevOps events to a Jira user. All of this information can be faked so we have to approach this carefully. Of course one solution may be to pass on the raw author username and email as smart values but maybe we can do better than this.

I'll pass on your feedback to the team for further consideration.

Regards,
Mo

Like John McKiernan likes this

Hi folks,

For anyone using GitLab who wants to learn more about how these new DevOps automation triggers work, we are running a co-hosted webinar with GitLab in a few weeks. Register here if keen: https://www.atlassian.com/webinars/software/automate-across-gitlab-and-jira

Note: it will be equally valuable if you use BitBucket, Github as the use cases are pretty much the same :) 

Hi,

really nice feature, thanks a lot.
We often have the scenario, that someone creates a pull request in bitbucket and adds a reviewer from our team to this pull request.

Is there a way to use the pull request created trigger and automatically assign the corresponding JIRA issue to this reviewer?

Unfortunately I did not find the reviewer as a smart value in the list.
Has someone an idea to solve that?

Thanks and best regards
Ole

Hi all, 

Good news! You now have double the amount of DevOps automation triggers available to you. 

We have just shipped support for Build and Deploy triggers so you link up tools like Jenkins, Circle CI and more. Read more about it here

More good news - we have added an extensive list of smart values that will work nicely with all of these DevOps triggers. You can find them here. 

Hey @Ole Schäfer 

Glad you are enjoying these new triggers! 

Unfortunately, at the moment, we don't support any user-based smart values but your use case makes full sense to me. It is also not the first time I have seen this request since we shipped. I have created an improvement request in our backlog so we can hopefully add this support down the line :)

https://codebarrel.atlassian.net/browse/AUT-1997

Cheers,

John 

Like # people like this
Braden I'm New Here Jul 31, 2020

@John McKiernanAny reason why these aren't on the server roadmap?  I'm seeing more and more lack of support for server and its really frustrating because I bet there are alot of us who cannot use cloud solutions but fully support the tools.  Could solutions are just not possible for the work many large companies do.

Like # people like this

Hey @Braden ,

I hear you. The Server team has a list of priorities they are working through but I don't believe this is on the list at the moment. I can update this post if there is any change. Sorry I know that's not the answer you are looking for!

Cheers,

John  

Like Braden likes this

Hello, 

Thanks for great new features. Have tried it with  "Pull request created" trigger, and it looks like to be working with "master" branch, although we use "dev", in which we merge all the ticket branches. And it doesn't seem to be informing me about pull requests for other branches than "master". Maybe it is configuration thing?

Hey,

Very sad that this feature (among many others) is not available for Jira Server - 2.000 users missing out on it on my end.

I agree with you, @Braden It is indeed frustrating. Many enterprises are legally bound to on premise solutions because of customer regulations. I hope Atlassian doesn't expect us to move into the cloud, because we simply can't.

Like Carol Serroul likes this

Hi this looks like a great feature, thanks. I want to implement the following flow:

  1. PR is merged
  2. If status is one of "In Progress" or "To Do"
  3. Then transition the issue to "Done"

Maybe dumb question, but this will only affect linked issues correct?

Screenshot from 2020-09-03 20-33-12.png

Hey @Dan Davidson ,

Glad you are enjoying these new features! Not a dumb question at all. In fact, I had to check it with one of the engineers!

So as you have your rule set up now, this will run for each associated issue. If you want to get more granular you can use the branch / related issues block

Screenshot at Sep 04 13-32-18.png

Hope that helps!

John 

Hi @John McKiernan 

I'm looking at hooking Jira to GitHub. What is Atlassians position on best practice for doing this?

Is it via Automation for Jira or GitHub for Jira (https://marketplace.atlassian.com/apps/1219592/github-for-jira?hosting=cloud&tab=overview). As far as I can tell automation does everything the app does and then adds a load more flexibility for customization.

I think I should just go for automation, but didn't want to spend a load of time going down that route if the marketplace app is complementary.

Thanks!

Like Jan Meiswinkel likes this

Whats about the trigger Pull Request approved   for Bitbucket  ?

Like Jan Meiswinkel likes this

Hey @Oliver Moore ,

Apologies for the late response. Just back from paternity leave. You should use both the app and Jira automation in tandem as both complement each other. I'm sure you have figured out by now but just in case you haven't :)

@Peter Reiser - at the moment, we don't have a trigger for PR approved but I'll let you know if that changes! 

Cheers,

John

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Jira Automation

Announcing the Jira automation template library!

Hi all,  After many months of work, I am delighted to announce the launch of the Jira Automation Template Library!  The Template Library is a new website dedicated to all things Jira au...

530 views 12 20
Read article

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