I have need to retrieve all possible options within a multiselect custom field for a particular issue. If nothing is selected, then getting the issue info returns nothing. The most I can think of is to make a webhook call out to get the mutilselect field's allowedValues back. But there has got to be an easier way to do this.
The reason I need it is so I can feed all the values into another field and send that to a different webhook. I don't want to have to keep updating a variable with this info as I dynamically add/remove the values from the custom field.
Anyone know of an easy way to do this? Seems like an obvious requirement for conditional checks.
I noticed in the automation rule, there isn't a "select all" option when pulling values from it either. Again, not very convenient.
Thanks.
Hi @Ethan Stein
I believe you are correct that the only way (currently) to do this in an automation rule is to call the REST API with a web request, and parse out the options from the response.
Without seeing your rule to understand your use case, I wonder about your second paragraph:
The reason I need it is so I can feed all the values into another field and send that to a different webhook. I don't want to have to keep updating a variable with this info as I dynamically add/remove the values from the custom field.
If you are using this information to send outside of Jira, and your list is apparently changing often, wouldn't you need to always do this method?
If instead you are not updating your option list often, you could cache it in an entity property at the project level.
Kind regards,
Bill
It doesn't change often, but I don't want to have to go and manipulate it regularly. It's just annoying.
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.