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,556,699
Community Members
 
Community Events
184
Community Groups

Can text be automatically inserted in a text field, in an automation or transition post action?

Phil Bustin
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.
Mar 28, 2023

Without using ScriptRunner or other app, I would like to be able to automatically insert text, including a couple of smart values, at the beginning of paragraph Field A, as follows:

*** Begin Additional Task to {{issue.[Custom Field].id}} {{now}} ***

[Paste PVCS modules from Show History > Version Label here.]

*** End Additional Task to {{issue.[Custom Field].id}} {{now}} ***

[blank line]

Perhaps the 3 lines above can be Field B, and I can concatenate Field B and Field A to Field C, and copy Field C to Field A?

 

1 answer

1 accepted

0 votes
Answer accepted
Darryl Lee
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 29, 2023

Hi @Phil Bustin - you should be able to do this pretty easily with the Edit issue action:

Screen Shot 2023-03-28 at 11.59.27 PM.png

I would advise you to use something like {{now.mediumDateTime}} or some other format so that your dates aren't formatted like this:

*** Begin Additional Task to Critical 2023-03-29T06:59:03.9+0000 ***

[Paste PVCS modules from Show History > Version Label here.]

*** End Additional Task to Upgrade 2023-03-29T06:59:03.9+0000 ***

This is the plan to rollback

(So that's actual output from my test. The original text of the Backout plan field was "This is the plan to rollback". After running the automation, you can see it prepended values from a few other custom fields, along with the poorly formatted date.)

Phil Bustin
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.
Mar 29, 2023

Thanks; this worked; in fact, I had already tried it before I read your answer.  I will explore 'More options'.

The one element I wish I had is the ability to edit a field before a transition.  Because that can't be done in Jira Software, I have a separate question posted on whether I can set a paragraph field default with imbedded smart values; that hasn't worked for me so far.

Like Darryl Lee likes this
Phil Bustin
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.
Mar 29, 2023 • edited

[I deleted this reply--it was meant for a different posted question]

Phil Bustin
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.
Mar 29, 2023

Update on the separate post for setting the default value of the field: A solution was proposed that worked--setting the value upon creation in an automation.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events