Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

change summary with custom field Text

Christian Mummelthey
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 9, 2021

Hi, I'm still quite new to the world of Atlassian, I came to this task a bit unlucky and now I have a task to complete and I hope someone here can help me.

I have created a form in our test environment that should be given to managers to request new hardware for their new hires.

One of the custom fields I created is "new hire name" which should be included in the "Summary" otherwise all tickets will have the same name "this is an equipment request from IT service portal".

What is the most beneficial way to include the text of the custom field (id=10348)

Thank you very much and best regards
Christian

1 answer

1 vote
Fabian Lim
Community Champion
August 9, 2021

Ho @Christian Mummelthey

I would recommend using jira automation for this with smart values to update the summary.

1. Action: issue created

2. Conditions: put some conditions to pick up the new hardware requests. You may have to use customer request type.

3. Action: edit issue by selecting the summary and adding the following smart value -> {{issue.summary}} {{issue.customfield.id}}

You may want to display the actual names and other items. Refer to this link: https://support.atlassian.com/jira-software-cloud/docs/smart-values-general/

Regards 

Christian Mummelthey
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 9, 2021

thank you for the answer would that be correct in the format?

{{issue.summary}} {{issue.customfield.id_id=10348}}

Fabian Lim
Community Champion
August 9, 2021

It would be {{issue.customfield.10348}}

Check the link documentation I sent if you want to display different formats for the user filed.

Bill Tanner November 14, 2021

I am trying to do the same thing but pull the custom field value from a trigger issue.  So, the user creates an issue, and then multiple sub-tasks are created.  We want to pull the value from custom field 20300 and append it to the summary of each sub-task created.  So far, the syntax is not working. I tried {{triggerIssue.customfieldId.20300}} but it is not working. 

Any suggestions on the proper smart value syntax?

Fabian Lim
Community Champion
November 14, 2021

It's actually {{issue.customfield_20300}}

Like Bill Tanner likes this
Bill Tanner November 15, 2021

Thanks, Fabian!!!

{{triggerIssue.customfield_20300}} pulls in the value of the field from the trigger issue (parent task in this case) and appends the value to the summary of the sub-tasks.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events