Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Add description of linked issue to ticket's current description

Essentially I am trying to build a system where one ticket compiles the description of other tickets that are marked with a special field and are moved to done into one big summary ticket. 
How would I access the linked issue's description?
Also side note would <br/> work for separating the new imported text from the previous text?

New Project.png

2 answers

1 accepted

0 votes
Answer accepted

After some trial and error and a bit of guess work turns out I can access it using {{triggerIssue.description}}

0 votes
wwalser Atlassian Team May 20, 2021

I'm not sure I've understood the use case perfectly. You may need to break the problem down into more discrete units so that I can understand more clearly.

> …one ticket compiles…

How does one go about locating this ticket into which things are compiled?

> …the description of other tickets that are marked with a special field…

How does one go about finding those other tickets?

When are you trying to perform this action?

----

From the image you provided it seems like you want to do this when a ticket is transitioned to done. The way I am imagining it works is as follows:

When a ticket, tickets β, in project λ is closed, I want to add its description to a running list of all closed ticket descriptions. The list of closed ticket descriptions is maintained inside of ticket β′, [which is linked to ticket β via the relation "is caused by" | which is the parent of ticket β].

To accomplish this, you'd just need to alter the existing rule by adding an action inside of the branch that alters the description of ticket β′ to contain:

{{issue.description}}
{{triggerIssue.description}}

----

> Also side note would <br/> work for separating the new imported text from the previous text?

You should just be able to use a standard return to separate the content. No need for markup to achieve this.

After some trial and error and a bit of guess work turns out I can access it using {{triggerIssue.description}}

At the bottom of the branch component, and many other components, there is an expandable help info: "What issue data can I access in conditions and actions for related issues?". It contains helpful information like this: "You can however also access the issue that triggered this automation rule via {{triggerIssue}} (e.g. {{triggerIssue.fields.summary}})."

Thanks for your answer but I have at this point got it working.

I indeed did use {{triggerIssue.description}}, but I would like to note that the page I was taken to with the help url did not list triggerIssue. I ended up guessing the variable name by putting it together from destinationIssue (which was listed on the help page) and seeing that another trigger spoke about a 'trigger issue'.

Suggest an answer

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

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