Hi all,
I am trying to figure out what I am doing wrong here. I get the email sent with the right list, summary, etc. But, the stated issue priority and due dates are always blank (even though the issues have data populated for the lookupissues JQL. Any ideas what I am doing wrong with the following syntax?
<ul>
{{#lookupIssues}}
<li><a href="{{url}}">{{key}}</a> - {{summary}} - {{issue.priority.name}} - Due - {{issue.duedate.fullDate}} </li>
{{/}}
</ul>
Hi @Chase Bradshaw ,
@Darryl Lee is correct these are fields aren't included yet. (Annoying!!)
A couple of useful links to monitor;
List of supported fields;
This post will be updated once custom fields are included;
Thank you all! I think I will default to using some of the other available smart values referenced in the links above until more are available. Largely, I think they will communicate similar concepts.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Heyy!
I got a way of getting the fields populated.
If you use your browser's inspect tool for an already existing ticket, you would be able to find the key for Priority and Due Date.
Elaborating the steps for ease:
Hope this helps :)
These steps definitely worked for me!
Attaching a screenshot for your reference.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @nagisha.vasudev -- Welcome to the Atlassian Community!
Or...you could use the steps in this how-to article for finding smart values: https://support.atlassian.com/jira-software-cloud/docs/find-the-smart-value-for-a-field/
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bill Sheboy I tried the link that you have provided and for some reason I get a blank output on my email.
{{customfield_00000.value}}
--------
UPDATE: It worked.
I was using a null value that is why there's no output. It should be
{{fields.customfield_0000}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maybe because you're iterating through a list you can omit the "issue." and just use {{priority.name}} and {{duedate.fullDate}}.
Just an idea - I'm on my phone and can't test.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried dropping the leading "issue." from the syntax, but still same result.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Huh. Sounds like it treats priority and duedate like custom fields, in that they're not accessible within the list context:
https://community.atlassian.com/t5/Automation-questions/Custom-fields-in-lookupIssues/qaq-p/1432144
That's unfortunate.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, and... to the other responses: here a couple of suggestions that you may want to review and vote for to improve Lookup Issues functions:
https://jira.atlassian.com/browse/JRACLOUD-75314
https://jira.atlassian.com/browse/JRACLOUD-75018
Best regards,
Bill
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.