I'm writing an automation workflow which sends a web request to Azure's API and grabs some values from the request (names of policy definitions assigned to management group). I then would like to be able to add values (the names of the various policies) to a picklist of a custom field in a task. Basically, I want new options to be added to the picklist or a new custom field created based on what I get in the workflow.
Is there a way to do this?
Some screenshots for reference:
Hi @Martyna Marcinkowska -- Welcome to the Atlassian Community!
It appears possible to update a custom field's options by calling the following experimental REST API function using a web request from the rule: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-options/#api-rest-api-3-field-fieldid-context-contextid-option-put
Please note that I have not tried this and so cannot confirm how well it works.
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.