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

Population of Description from other projects

Dmitry Alabyan
Contributor
November 2, 2022

Greetings, Community!
I want to set up an automation between the two projects, where filling fields on one, triggers task creation in the other (that I did easily).
What I am interested in is - whether you can dynamically populate the description based on the fileds?
E.g. when the trigger issue has filled fields X Y and Z AND triggers a creation of a task in the other project - can the Description field in the newly created task fetch the values of the X Y Z inside?
Perhaps that can be somehow coded for the field within automation?

1 answer

1 accepted

0 votes
Answer accepted
Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 2, 2022

HI @Dmitry Alabyan 

When you create the new issue you can use a mixture of text and smart values to create a description based on the data in the triggering issue.

See this link for available smart values and usage

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/

Dmitry Alabyan
Contributor
November 2, 2022

Exactly. What I am searching for is what smart values would be applicable to populate the end issue description based on the field in the trigger issue.

Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 2, 2022

What issue fields do you want to use in your description?

Dmitry Alabyan
Contributor
November 2, 2022

Screenshot 2022-11-02 at 13.37.11.png These ones. I have a dossier project with all the data, while the result of the triggering are Invoicetasks, that need the description to include all these numerics

Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 2, 2022

Hi @Dmitry Alabyan 

As custom fields you should be able to access with the syntax described for Custom fields in the docs

e.g.

Mediabudget Brutto :   {{issue.Mediabudget Brutto}}

To test what  what a smart value returns, use the Manual trigger with Log action.

Dmitry Alabyan
Contributor
November 2, 2022

it will the fetch the field value of the newly created issue. I am looking more for the syntax to fetch from trigger to the new one.
plus, I have commonly encountered (when trying to implement auto-calculations via smart values that ira doesn't recognize or distinct the names of the fields somehow from time to time. So it returns empty values or fails
Do you know if such practices?

Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 2, 2022

HI @Dmitry Alabyan 

to access to triggering issue try

{{triggerIssue}}

Refers to the original issue that triggered the rule;

If you have problems access via field names try the field id syntax. Field names can change and be duplicated. The internal id's stay the same.

{{issue.customfield_10099}}

There is a note on finding the smart values in an issue here

https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

Using Manual triggers to run and log output is the best way I've found to test formatting issues.

Like • 2 people like this
Dmitry Alabyan
Contributor
November 9, 2022

@Tom Lister thanks for the insights, the syntax approach helped a lot.

might you also know how to specify the fields in specific subtasks also?
Here: i have numeric fields in the subtasks of an issue, that I need to sum up in the parent. But that is needed only for the subtsks with a specific prefix in the Sumary.
hence, the regular {{issue.subtasks.field.sum}} doesn't apply

Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 9, 2022

Hi @Dmitry Alabyan 

I don't know of any inbuilt way to do conditional summing.

Is it possible in automation to loop through sub tasks using a branch rule 'For Sub Tasks'. You can add tests for summary in the loop.
I'm not sure how you would add the values to the parent in steps.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events