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,458,181
Community Members
 
Community Events
176
Community Groups

Unable to customize Issue Summary while creating rules in Jira using Project Automation

Hi,

I am using Project Automation - Jira plugin in my project.

Problem Statement:

Create a rule which should trigger for a condition:

When Issue status changes from Open to Under Review

and Issue.Type = Software Delivery

Then

Create a new Sub task With SPECIFIC TITLE as one generic string: see below: 

e.g. TITLE should be = "ABCDE - [parent Issue Key] [Parent issue Summary]"

 

I tried using Smart Values mentioned in Jira doc but looks like {{ }} is not picking up the value:

my attempt:

Please see attached screen for reference

 

Jira-Automation-json.JPG

 

Please have a look and see what i am missing here:

 

output is :

 

Actual output:

Summary Title = IRR Review JSON TT

Expected Output:

Summary Title = IRR Review JSON TT [Parent Issue.key] [parent issue.Summary]

 

1 comment

Hi @Chetan Kumar  -- Welcome to the Atlassian Community!

Looking at the image of your rule, it appears you are trying to set the value of Summary twice in the new sub-task: with the Summary field value and with JSON. 

Please try to remove the JSON under more options and just paste your text and smart values into the field value.

Best regards,

Bill

Thanks Bill for replying, actually tried that option at the very start but did not work, hence tried the more options field, as you can see in the output it is taking value from more option field only (IRR Review JSON TT) not from the Summary field itself (IRR review)

I have tried as you have mentioned but still the final output is not what i expected. please advise, below screenshot for reference. 

Actual output:

Summary Title = IRR Review

Expected Output:

Summary Title = IRR Review NUC-XXX parent task for this sub-task

 

Jira-Automation-json One.JPG

Like Ruslana Smirnova likes this

Hi!  To help focus a bit, I am using Cloud, not Server version; so my results may be different from yours...

  • When called from a sub-task issue type: {{issue.parent}} returns the key and {{issue.parent.summary}} returns the summary
  • When called from a story or bug, these will not return the epic.  To get at those you would need to use a branch with JQL on the epic link.

The way your rule is written, it appears that "Software Delivery" issue type is at the same level as Story, not Sub-Task.  So {{issue.parent}} does not work.

Comment

Log in or Sign up to comment