I have created a custom field that the user requires to select one or several items from the list.
When the task is closed then the linked task X should receive a message listing all the options selected from the "Multi-select lists" in the triggering task.
I found this reference (but this is not working for me):
https://support.atlassian.com/jira-software-cloud/docs/use-smart-values-to-access-listed-values/
Here are the types that I tried considering the previous reference but NONE is returning a value.
The custom field is called "FOP issues identified"
a *{{issue.cf11852}}*
0 *{{issue.cf11852.value}}*
1 *{{issue.FOP issues identified.value}}*
2 *{{issue.FOP issues identified}}*
3 *{{#issue.FOP issues identified}} {{value}}{{^last}}- {{/}}{{/}}*
4 *{{#issue.FOP issues identified}}{{value}} {{/}}*
5 *{{issue.FOP issues identified.value.join(" ")}}*
(!) The FOP issues identified custom field is in the trigger task, but I want to add a comment in the linked task(s) the list issues identified (selected in the trigger task).
Hey @[deleted]
I'll assume you're using a branch to comment on the linked issues? When you're in a branch the {{issue}} references the current issue the branch is actioning and {{triggerIssue}} references the issue that triggered the rule. So your smart value would be {{triggerIssue.FOP issues identified.value}}.
Here is an example of what your rule might look like:
This would comment on the linked issues with the values:
The documentation link you have has different ways to format that list.
Hope that helps!
- John
Hello John, it worked, thanks.
But I still have a question, how to make it work with the "short name" of the custom field.
The next two lines don't return a value.
a *{{triggerIssue.cf11852}}*
0 *{{triggerIssue.cf11852.value}}*
What is the valid format for using the "cf#####" when referring to custom fields?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @John Funk
Could you please help in below scenario, i am having a custom field (multi select custom field), is there any way so that we can list out (by using any smart values) all options which are available in that custom field not for particular issue.
Thanks,
Raju
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raju,
It will be best if you create a new question in Community so more people will see it and be able to help answer. Thanks!
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.