The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to automate prepended text blocks to the description field?

AB
May 21, 2021

We are looking to automate adding a text block to the top of the description field without clearing the content of the field. 

Desired Workflow:

  1. Ticket created via email by reporter
  2. Text block prepended to the top of the current description by automation
  3. Ticket manually assigned to applicable department
  4. Assigned department completes ticket

So far I have created the below automation but can't figure out how to prepend the text block for the action. Adding a value to the box overwrites the current value.

Screen Shot 2021-05-21 at 10.18.56 AM.pngScreen Shot 2021-05-21 at 10.19.19 AM.png

 

Is this even possible on jira cloud?

2 answers

2 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 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 Champions.
May 21, 2021

Hi @AB -- Welcome to the Atlassian Community!

Yes, this is possible...

  • First thing: as you are modifying the description of a just-created issue, I recommend adding a Re-fetch action immediately after the trigger.  There are currently timing issues in the REST API and so the issue may not be fully loaded at the time the trigger is fired.
  • Next, please try this in your edit field to pre-pend the text: 
Here is some new text!
{{issue.description}}

We do this to add an INVEST reminder to our user stories for one team.


Best regards,

Bill

3 votes
Answer accepted
Esther Strom
Community Champion
May 21, 2021

@AB welcome to the community!

Yes, this is definitely possible! You'll use a smart value to get the existing contents of the description field.

2021-05-21 11_35_42-Project automation - Jira Staging - Vivaldi.png

TAGS
AUG Leaders

Atlassian Community Events