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

How to assign values to issues in lookupIssues or linkedIssues

Fredborg_ Bo _EMR_MSOL_RYDK_
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!
December 13, 2024

Hi, I have a Discovery Project where i want a custom field (LRE) to be updated when a linked issue (Epic) in another project has its Original Estimate updated. 

For me it seems natural to use the trigger "issue updated" or "field value changed" on the source, i.e. the Epic. While having this setup I cannot figure out how to assign values to the destination project (Discovery Project). 

Using lookup issues as shown below, the lookupIssues holds the right idea from the Discovery Project, but I can not figure out how to assign a value to idea, e.g. like {{lookupIssues.get(0).LRE}}. It seems like Edit issue will only operates on the Epic. I also tried using branch rule but without any luck.     

{05356F23-0163-4675-9A0D-0982A5EA3117}.png{221DEF68-77C7-4FDA-8FDD-0FD4F3C8FA92}.png

1 answer

0 votes
Marc - Devoteam
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.
December 13, 2024

Hi @Fredborg_ Bo _EMR_MSOL_RYDK_ 

Welcome to the community.

This should work and I made a test using story point and this works.

See example rule I made.

Screenshot 2024-12-13 at 12.32.16.png

Marc - Devoteam
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.
December 13, 2024

Hi @Fredborg_ Bo _EMR_MSOL_RYDK_ 

M again, based on Original Estimate my above option will not function.

I have also a solution for this.

The trigger of the rule needs to be on the field "Time Tracking" and you need to create a field on the JPD project as well, based on text if you want the "Original Estimate" from the Epic to show the hour/day/week abbreviation besides the number

The rule stay the same from the start, jst make sure to use the "Time Tracking" field as the trigger.

Within the branch create a variable based on: {{triggerissue.timetracking.originalEstimate}}

The set the Edit to the new field on the JPD, by using the variable (in htis case, I named it {{time}}

Rule:

Screenshot 2024-12-13 at 13.12.07.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events