Automation rule that creates a new follow-up ticket.

Rafik Bouizergane February 28, 2024

I want to accomplish the following:
From an (incident) ticket, create another (follow-up) ticket. Where the description of the follow-up ticket, is a summary of the (incident) ticket created by the Atlassian AI?

The rule must be triggered manually

Is this possible? If so, how?

This is what I have right now
image.png

2 answers

1 vote
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 29, 2024

Hi Rafik,

You don't need the Branch, just include the fields in the Create Issue action and use {{triggerIssue.description}} for the Summary field (CAUTION: Summary is a single line text field and Description is a multi-line text field, so you might not get exactly what you intend for the Summary of the new issue). 

For the Assignee field, just copy from the trigger issue like you are already doing - but don't do it as a separate action, just populate the Assignee field directly in the Create Issue action. 

Before you delete the branch, move the Link issues action up under the Create Issue action. 

1 vote
Miguel Ramon
Contributor
February 28, 2024

Hey @Rafik Bouizergane

Miguel from ServiceRocket here. So I'm not entirely sure because this is not a publci API endpoint but it seems that jira makes calls to

https://<instance_url>/gateway/api/firebolt/1/summarise/issues/<issue_id>

If you make a GET to this endpoint, you'll get the AI summary back, but in ADF form. There are two challenges here:

1) Configure your automation script to identify the issue ID (Not the issue key) - the issue ID can be identified by making a call to the /rest/api/2/issue/{issueIdOrKey} endpoint under {"id"}

 

2) Somehow parse or convert the data received from the firebolt endpoint to paste in the issue in human readable mode. Not sure what happens if you simply past the raw response in a text field - best scenario is it gets rendered by Jira properly, worst case is you need to extract the relevant strings you need.

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 29, 2024

Dude - this is WAY more complicated than what is needed. Just a simple automation rule. 

Miguel Ramon
Contributor
February 29, 2024

Hey @John Funk ! My understanding was he was looking for a way to paste the output of the “AI Summarize” feature from Atlassian Ai, not the regular issue summary field, but ai may have misunderstood.

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 29, 2024

Well, maybe it was me that misunderstood. He said Summary so I went with that.  :-)

Like Laurie Sciutti likes this

Suggest an answer

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

Atlassian Community Events