Hi!
I'm trying to add a comment form jira automation that will highlight any missing fields required for a particular process.
For example when a ticket is raised, there could be a comment added (Missing fields:) follwied by separet advanced compar "If" conditions that will check if each required field is empty and if so will edit comment with "{{issue.comment.last.body}} + Field name to create a list of the missing fields.
This problem i'm having is that {{issue.comment.last.body}} always uses the value from the original comment and does not account from any additional edits from the previous conditions in the automation. Even when I re-fetch data after making the first comment edit.
As a further example, final comment left by this automation would be {{first comment}} + Last Name and the first name would no longer be present.
Any workaround for this?
thanks in advance!
You can try:
You can also for example create a variable to store comment body value and save it as the last comment body at the end of the rule.
Can you please describe your requirements here and why you need such comment anyway? Maybe your requirement can be met differently...
Best
Piotr
Thanks Piotr,
That's done the trick.
Out of curiosity how does one create a variable within the automation?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is an action "Create Variable", so you can change your rule to something like the following:
Variable initialization details:
To change the variable value you just use the same action component "Create Variable":
Best
Piotr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's very handy to know, hadn't spotted that before.
Many thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Journeys is a brand new feature in Jira Service Management that helps you streamline various processes in your organization that may cross multiple departments, such as employee onboarding or off-boarding that require action from different teams. ✨
Join the EAP →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.