Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Smart value {{issue.summary}} displaying 'Autogenerated' : Cloned issues : Jira cloud automation

Purnima Pal February 5, 2024

I'm currently facing  an issue with the summary display in my Jira cloud automation rule when cloning issues across multiple projects.

My Configuration:

  • Trigger: Issue created (Global Rules)
  • Added a condition : Components contains of X,Y,Z
  • Actions:
    • Clone issue with the following configuration:
      • Clone issue in Project B  : CLONE - From {{issue.key}} - {{issue.summary}}
      • Clone issue in Project C  : CLONE - From {{issue.key}} - {{issue.summary}}

The issue is using the smart value {{issue.summary}}, the text into the cloned issue's summary continues to display as 'Autogenerated'.

Interestingly, when I use the smart value {{issue.key}}, it correctly displays the ticket ID into the clone tasks which are created across all projects.

Automation setup example.png Clone issues.png

Requesting to guide me and let me know if i am doing something wrong steps. Thanks in advance . :)

2 answers

1 accepted

2 votes
Answer accepted
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.
February 6, 2024

Hi @Purni 

The Issue Created trigger can fire so quickly that some of the issue data is not available to the rule when it starts.  This will cause things like empty / incomplete fields when the rule runs.

To determine if that is the cause, and to fix this symptom, please always add the Re-fetch Issue action immediately after the Issue Created trigger.  This will slow down the rule a bit, and reload the issue data before proceeding.

Please try adding that action and re-testing your rule.

Kind regards,
Bill

Purnima Pal February 6, 2024

 

Thanks a lots for guidance !! The above mentioned step works.. 

pp.png

Like • Bill Sheboy likes this
0 votes
Manne Kjærby - ProProces
Atlassian Partner
February 6, 2024

Hi Purni.

Overall I believe your automation looks correct.

I'm in bit of doubt in why the issue.summary doesn't show up correctly.

But it could be related to issue reference is getting mixed up as you are creating a new issue (and it then looks at it as branched - I'm not sure, just me thinking out loud)

If I were you, I would try to use this smart value - That is referring the original trigger issue.

{{triggerIssue.summary}}

Purnima Pal February 6, 2024

Hi @Manne Kjærby - ProProces  , 

Thanks for quick response . I tried the above smart value {{triggerIssue.summary}} , it seems the same 'Autogenerated'. 

1round testing.png

Manne Kjærby - ProProces
Atlassian Partner
February 6, 2024

Hi Purni.

I just tried the automation on my own instance.

  • When: issue created
  • Then: Clone issue into ....
    • CLONE - From {{issue.key}} - {{triggerIssue.summary}} - {{issue.summary}} - {{summary}}

And all above smart values shows up with the correct summary.

So, I will reference myself: Overall I believe your automation looks correct.

It might be a bug? - I might have overlooked something. I think you should reach out to atlassian support.

Purnima Pal February 6, 2024

Ohk .. Thanks for guiding , I will reach out to atlassian support now may be.

Suggest an answer

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

Upcoming Jira Events