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,557,130
Community Members
 
Community Events
184
Community Groups

Jira Automation - Get created issue key

While using the Automation for Jira Cloud, is it possible to get the key of the issue that was created in the very same automation? 
Here's a screenshot of what I'm trying to implement. The issue is created perfectly - I just want to send the Key of the created issue over Slack/Teams/Email without using JQL/Lookup to fetch it. 
image.png

2 answers

1 accepted

4 votes
Answer accepted
Jira Guru
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.
Aug 18, 2020

Hi @Shahroz Naeem 

 

Try this

 

createdIssue

The previous issue created in this rule.

{{createdIssue.key}}

createdIssues

A list of issues that have been created in the rule.

{{#createdIssues}}{{key}}{{/}}

Thank you! 😁

Is there a way to access created Service Requests?

Hey @steven_peck
I'd suggest you start a new thread for this query. 

But to answer your question: Yes, all created tickets can be accessed. You can use the conditions to filter out the tickets where the issuetype is Service Request and take actions on them alone. 

Like Dave Liao likes this
Dave Liao
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 05, 2023

...for anyone who's reading this thread 3 years later, @Jira Guru 's useful answer is from this page, where there's lots of other smart value info: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/

I'm sad that is hard to find again this version of getting (spent 1-2 hours to get this).

If you create more than one in single automation - you can use (even if created in Branch-rule):
{{createdissues.get(0).key}} - for first
{{createdissues.get(1).key}} - for second

etc.

Suggest an answer

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

Atlassian Community Events