Using string functions with Project Automations from codebarrel

I am working with a field that contains the summary of multiple linked issue using the {{destinationissue.summary}}, which returns the summary of the linked issue. 

I have linked issue types of "Assigned" and "Unassigned". 

The assigned link type populates a sing line text field using the 

It also adds to the field if more than one issue with assigned is used, by using this code. 

{{destinationIssue.summary}} {{issue.fields.Computer Name}}

 The issue is when I link a computer with the link type "Unassigned" I need to remove the summary from the single line text. I was trying to use the string manipulation functions, but I do not know if you can use smartvalues as the parameter for the function. Like this

From their help pages:

{{issue.summary.remove("l")}} returns Heo Word!

 I was trying this hoping to grab the summary of the issue I just linked and remove it from the custom field of "Computer Name":

{{issue.fields.Computer Name.remove({{destinationIssue.summary}})}}

 I am guessing I cannot add smart values to the parameters passed to the function. Is that right? 

1 answer

1 accepted

1 votes

Hi Russell,

Yes that's correct. You can't currently use smart-values as parameters like this.

We don't really support this use-case currently. 


Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,149 views 13 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot