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?
Hi @Phil Bustin - you should be able to do this pretty easily with the Edit issue action:
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.)
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
[I deleted this reply--it was meant for a different posted question]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.
Register today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.