Hi,
Is it possible to capture the old and new values for Status and Assigned to Group through Automation configuration just like standard email below?
Please help me out on the same
Thanks,
You are looking for the {{fieldchange}} and {{changelog}} smart values. Take a look at those 2 section in the documentation here -
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--fieldChange--
Here is the syntax
{{#changelog.issuetype}}
{{fromString}}
{{/}}
and this too:
{{fieldChange.fromString}}
Returns the previous value as displayed.
What is your reasoning for capturing the the before/after values? Generally speaking, those data (changes) are already stored in the Activity tab associated with each issue.
If you have a need to capturing the before/after value, then you will first need to create custom fields to store the before value, associate the fields to your project's issue type(s), expose the fields in the issue screen(s) (In regards to the screens, I would recommend to expose them only for issue view screen)
Afterward, you can create custom automation rule to populate those new fields (i.e.Issue created event) where the initial values are populated, then when those actual (original source) field is changed, you will already have the original field value assignments.
In my opinion, capturing the before and after value is a un-necessary action because the Activity section already contain the field value change history.
Hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Technology Applications Team
Viasat Inc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use automation based on a JQL;
Status WAS {statusname}
or
If you are wanting to group assign when it goes from one status to another, ie. Initial analysis to > In progress (supreme team)
Create an automation using the transition trigger from one status to another.
> Action: edit: custom field name: <group assignee>
alternatively, if you wanted to standardise the JSM Workflow, you could use a standard ‘In progress’ status with a transition screen allowing the user to select the group themselves instead.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.