Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Automation for Jira: Change log to log value changed in a check list box

Jeffrey Bistrong
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 01, 2020

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)

 

Software_access.png

access.png

 

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

 

 

1 answer

0 votes
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 07, 2022

Hi @Jeffrey Bistrong 

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events