Forums

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

Automation process Slack + Jira

Jean Paul Piedrahita Garcia April 3, 2025

Hello. My team has a private Slack channel where we report our tasks. I would like to automate the following process:

1. When somebody report a task (the report always has the same structure), I'd like to automate the transition the ticket statuses in Jira (for example, To Do --> In progress) and the report this change in the corresponding thread.

2. When somebody review the task in Slack and provide feedback in the thread, we usually finishes with a keyword. Then I'd like to change the ticket status automatically in Jira again.

Is it possible with Slack and Jira integration? Do I need some third party? Thanks for the help.

1 answer

1 vote
Mayura Gautham
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 4, 2025

Hey @Jean Paul Piedrahita Garcia 

When you mention 'someone reporting a task in Slack,' are you referring to creating a new work item directly from Slack? If so, you can utilize the 'Issue created/updated' trigger in Jira automation. The same principle applies when someone reviews a task in Slack.

Both actions will be captured by Jira, allowing the 'issues created/updated' trigger to function effectively. To distinguish between issues created via Slack and those created directly in Jira, you can incorporate a specific keyword in the description, summary, or another field as part of the rule.


Please check the below rule:
Screenshot 2025-04-04 at 2.47.54 PM.png

The trigger is set to activate when the summary value changes upon issue creation or editing (since the summary field is mandatory for creating an issue, it serves as a reliable trigger). You can adapt this by choosing a different field for editing, such as a comment.

The rule checks if the summary contains a specific keyword, like '-xyz,' to differentiate issues created through Slack from those in Jira. If all issues from Slack are created within a single project, you can configure the rule for that project alone, eliminating the need for this condition.

As an action, you can set a transition. Additionally, you can use 'if-else' conditions to tailor the workflow: for instance, if the description contains 'xyz', transition to Status A; if the description contains 'xyz' and a comment includes 'abc'(for the second requirement), transition to Status B. This approach works for both issue created and edited


I hope this helps. But if I did not understand your requirement correctly, please correct me so I can assist you better.

Thanks :) 

Jean Paul Piedrahita Garcia April 8, 2025

Hi @Mayura Gautham 

 

Thank you for your response. I just got permissions to access Jira Automations, as I couldn't before. Maybe I wasn't a bit explicit. The dynamics we employ is as follows:

 

(Assuming the ticket is already created previously).

1. Once the work is completed, the person reports in Slack with the example structure "XYX-123, considerations, file".

2. Jira should detect this message and change the status of the XYX-123 ticket from To Do or In progress to QA.

3. Jira sends a message in the Slack message thread, advising of the status change.

4. A person makes comments in that Thread as feedback. When finished, it sends a message with a keyword such as "XYX-123 - finalize revision".

5. Jira detects the message and changes the QA status to in progress.

6. Jira sends a message in the Slack message Thread, notifying of the status change.

All is this possible with your solution? Or should I consider something else?

Mayura Gautham
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 9, 2025

Hey @Jean Paul Piedrahita Garcia ,

Yes, the solution I provided will work for your requirement. 

You can configure your project to include/exclude issue events from slack notifications, so you can get slack notifications for issue edited/comments added etc

Screenshot 2025-04-09 at 3.08.13 PM.png

For the automation triggers you can use, issue edited/comments as well. So please try this solution. It should work if everything is set correctly.



Jean Paul Piedrahita Garcia April 9, 2025

Hi @Mayura Gautham . 

I will try this, thank you. I have a question: since I want the Jira issue to change the status automatically based on an external call from Slack, could the trigger here in Jira be applied directly? Or are these triggers only used to send messages to Slack?

Mayura Gautham
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 10, 2025

Hey @Jean Paul Piedrahita Garcia 

For your requirement, the only way to connect with Slack is to use an automation rule action, which is limited to sending a Slack message.

The Rule trigger could be any change made to the issue; regardless of whether the change is made via Slack or Jira, the rule will trigger. 

Also, please do accept my answer if you think this would work for you :) 

Suggest an answer

Log in or Sign up to answer