I am just trying to copy a single-line text field from the parent issue into a sub-task in my Team-Managed Jira Software Cloud Project.
I want my sub-task to include this text field from the parent/trigger issue as part of it's summary field:
IE {{issue.Text Field Name}} Issue Request
But the result I am getting back is just " Issue Request"
I have other fields in this sub-task generation that also reference the parent issue IE {{issue.Customer Expected Date.plusBusinessDays(20)}}, and this works as expected.
Is there a limitation for referencing a single line text field? What am I missing here?
Hi @John
This should work.
What field are you trying to copy? And is it a custom field?
---
Something to ensure is the smart value for the field is the correct casing/spelling - smart values are case sensitive.
Or, you can use the custom field ID to make it an absolute - eg.
Ste
Hi @John
Adding to Stephen's answer:
One way to identify the correct smart value (or custom field id) for fields is using this how-to article. Essentially you identify an example issue with your field, call a REST API function from a browser, and then search for your field on the results.
https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/
Here is an example of the call for the browser:
<your Jira URL>/rest/api/2/issue/<your Issue Key>?expand=names
Kind 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 @John
Have you tried using the custom field ID, as suggested in my previous answer.
You can find the ID using the instructions @Bill Sheboy has mentioned.
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @John
In order to help you debug your Automation Rule we need to see the rule itself. Please provide images showing the full rule and the details of each step.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @John
Looking at the image you posted today (March 25)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ste Wright , @Trudy Claspill Please see the attached images for an example of the workflow/field name.
Things to note:
1. This is a team managed project
2. The field "Customer Name" is a Team managed issue type custom field - not a system/admin level custom field, and it is not data linked to an underlying system field.
3. The current automation produces no output for the reference {{issue.Customer Name}}
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.