Hi guys,
I am trying to figure out on how to add a value in a custom field with JMWE and I'm new to nunjucks.
The field is a group picker field that needs to be filled in when specific conditions are met.
Depending on these conditions it will be a different group that needs to be added to the field.
Following seemed the most logical, however it does not work.
{% set issue.fields.customfield_10063.name = "myGroup" %}
Anyone here that knows how to solve it? Or point me in the general direction?
Thanks in advance,
Regards,
Dave
Hi @Dave Bosman [Realdolmen] ,
you can use a Set Issue Fields post-function, select the destination field (your Group Picker field), and for the value use something like:
groupName
Of course, if the group name depends on some conditions, you'll need to add some Nunjucks code. What is the condition that drives the group name?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.