Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Program manager displayname

Sien Xia March 28, 2024

Hi team,

I'd like to set up a rule for reminding program owner to update ticket automatically, but after I input smartvalue {{program owner.displayname}}, the program owner's name doesn't show on email correctly.Capture.PNG

3 answers

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 28, 2024

Hi @Sien Xia 

What type of project are you using: company-managed or team-managed?  You may find this information at the bottom-left side of the screen expanding area.

And if using a team-managed project, is that a People-type field you have added?  If so, many of the attributes may not be available to rules.  This is a known limitation of this project type.

Also...

Smart values for fields are name, spacing, and case-sensitive, and the often do not exactly match the displayed field name on the issue views.

Please confirm you have the correct smart value for your field with this how-to article: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

Kind regards,
Bill

Sien Xia March 29, 2024

Thanks Bill! Yeah the weird thing is when I use condition [Scheduled - Query] - [Send email], then program owner smartvalue can show on mail correctly, but when using [lookupissues] - [Send email], mail cannot get the value of Program Owner. displayname. 

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 29, 2024

Just to confirm what you are observing:

  • when a rule uses a Scheduled trigger with JQL and references {{issue.Program Owner.displayName}} there is a value, but...
  • when a rule gets the issues from a lookup issues action the smart value {{lookupIssues.Program Owner.displayName}} does not for the same Jira issues?

 

Again, is this a team-managed project's People-type field or a company-managed project's user select field?  

Or...is this field instead provided by a marketplace addon app?

Your project admin and / or Jira site admin can help answer those questions.

 

Did you try that how-to article to confirm the smart value for the field, or try using its custom field id value instead?

Sien Xia April 9, 2024

Hi Bill,

Situation confirmed. I check [Program Ower] and found it's a custom field, so that's the reason it doen't work?

If it is, is there any similar action to sort out the list and send to somebody?

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 9, 2024

Let's confirm some things:

1) Are you using Jira Cloud, Jira Server, or Jira Data Center?

If you are using Jira Server or Data Center, the Lookup Issues action does not support most fields, including custom fields yet: https://jira.atlassian.com/browse/JIRAAUTOSERVER-877

In that case, the workaround is to call the REST API issue search with JQL and the Send Web Request action, as that should provide all of the fields.

 

2) If you are using Jira Cloud, is this a Company-Managed or Team-Managed project?  You can find that information at the bottom-left side of the screen expanding area.

 

0 votes
Sien Xia March 28, 2024

Thanks @Jack Brickey , not sure why it still doesn't work.Capture.PNG

0 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 28, 2024

Hi @Sien Xia ,

Could you try  {{issue.program owner.displayname}}?

 

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 28, 2024

Hi @Jack Brickey 

Based on the rule shown and inside of the Lookup Issues iterator, the issue prefix would not be used.

Kind regards,
Bill

Like Jack Brickey likes this
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 28, 2024

yes good point... TMP is a likely suspect

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events