Hi,
I have to copy the value of Affected Services to a text field 'Last Affected Service'.
I am able to copy value when a ticket is created but when we add a new Affected Service , 'Last Affected Service' field gets appended with new value.
I am actually looking for updating the 'Last Affected Service' field with new affected service which got added.
Example
ticket 1 created
Affected Service - Name 1
Last Affected Service- Name 1
When ticket 1 is updated with Name 2
Affected Service -Name 1, Name 2
Last Affected Service- Name 1, Name 2
I don't want to keep copying the value of Affected Service to 'Last Affected Service', I want to update the 'Last Affected Service' to have Name 2 and so on if I add Name 3 as affected Service?
I think I will have to edit field using JSON but not sure how?
Please help.
Are you doing this with an automation rule? If so, is the rule triggered on a change to the Affected Service field?
In that case, you could try the {{fieldChange}} smart values to use only the added ids to replace the one for Last Affected Service: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--fieldChange--
Kind regards,
Bill
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.