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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confiforms: Find unselected values from a smart multi-select field?

I'm trying to determine what's been unselected from a smart-select field on update. (So I can use that value elsewhere.)

My approach has been subtracting the current state from the previous state so I will be left with any values that were unselected.

I've gotten pretty far by looking up the previous state of the smart multi-select, converting it to a list, and then subtracting the current state with replaceValue. If I manually enter a string in the replaceValue function, it works. But I can't seem to get replaceValue to accept a dynamic value (current state) as the search string.

Example:

somefield=[entry._previousState.someSmartMultiSelect.transform(id).asList.replaceWith([entry.someSmartMultiSelect.transform(id).asList],)] 

First: Can replaceValue take a dynamic search string?

Second: Is this the best way to find the ID's of the unselected records in a smart multi-select?

1 answer

1 accepted

Hi

1. At the moment it does not

2. Probably, using "asFilteredBy" virtual function - https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions. But it looks like it does not accept dynamically evaluated expressions.

I will register these are feature requests

Alex

Thanks. I would love to see these features make the Confiforms plugin even more powerful.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

107 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you