We are using jira to keep track of which employee has access to which software (and when it was granted/denied - for auditing reasons).
I set up the following comment logic for my automation rule, however, I think it could be a bit confusing to anyone who sees it.
{{initiator.displayName}} change altered Software Access for an employee at {{now}}
Old Access
{{changelog.Software_Access.fromString}}
New Access
{{changelog.Software_Access.toString}}
It would be ideal, if I can only include only what latest update value was, to make it more easily readable, which access was granted/removed.
It would be even more ideal, if I could have separate comments for "access revoked" and "access granted". I would imagine I would have to do some advanced field compare logic in order to to identify if software was added or removed.
I know all of this is visible in the audit history of a ticket, but my users don't want to have to look through all of that. They want to see it in the comments of a ticket.
Any ideas/suggestions would be helpful (screen shots below)
The only documentation I could find was here: https://docs.automationforjira.com/reference/smart-values.html#changelog
And I tried to look for any ideas by using the methodology mentioned here to see the JSONs representation of my issue but no luck: https://docs.automationforjira.com/issues/find-the-correct-smart-value-for-fields-in-jira.html#finding-your-smart-value
On cloud I think that the following:
It would be ideal, if I can only include only what latest update value was, to make it more easily readable, which access was granted/removed.
It would be even more ideal, if I could have separate comments for "access revoked" and "access granted". I would imagine I would have to do some advanced field compare logic in order to to identify if software was added or removed.
You can now achieve this by using:
{{addedfieldChange.values}} to get the values added
and
{{deletedFieldChanged.values}} to get the values deleted
{{deletedFieldChanged.values}} does not seem to work on deleted labels.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.