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,294,402
Community Members
 
Community Events
165
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

2 votes
Answer accepted

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. 

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
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,197 views 34 44
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