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

Making a Jira automation to create a new ticket every 90 days

I am relatively new to making Jira automations and I'm looking for help with mine. I am trying to make an automation that will: 

1. Create a new ticket every 90 days to a specific board 

2. Once created, it will send a message to a specific slack channel with a link to the ticket. 

 

So far I have it set up like this: 

 

When: Scheduled 

a. every 90 days 

b. I chose "simply run the conditions and actions without providing issues". when I chose "run a JQL search and pass results to subsequent conditions and actions" it ended up creating over 50 tickets before I could turn off the automation. 

 

Then: Create a new issue

a. selected specific project

b. selected issue type 

c. filled out summary and description 

 

And: Send Slack message 

a. selected the correct webhook url 

b. added in a message 

c. selected "Send message as Automation for Jira" 

d. added in the correct Slack channel 

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Nov 20, 2023

Hi @Jackson -- Welcome to the Atlassian Community!

For a question like this, please post images of your complete rule and the audit log details showing the rule execution.  Those will provide context for the community to offer suggestions.  Thanks!

If you want to create just one issue, remove the JQL from your trigger.

Are you trying to copy information from other issues to create the new one?

What else is working / not working as you expect for the rule?

Kind regards,
Bill

I will post screenshots once they are approved. 

I am trying to create an automation that would create a new ticket every 90 days for my team to audit users from a list of apps we use. 

So far when I run the rule it will create a new ticket. When I view the ticket all the correct info is listed. 

 

The current Issue I am facing is in the Slack message portion. It sends a slack message stating "90 day app audit due" but I can't figure how to add a link to the ticket into the slack message. I would also need to make sure the slack message displays the correct ticket number every 90 days. 

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Nov 20, 2023

After a rule creates the issue, you have the smart value {{createdIssue}} to include any fields in the message: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--createdIssue--

One of those is the link to the issue: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--issue.url--

Putting those together, you could include the link as:

{{createdIssue.url}}

That link will work for people who have Jira access.

Like Bizz likes this

I'll give that a try, thank you! 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events