Forums

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

Update worklog of specific type of linked issue

Molly Farrow
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!
October 1, 2024

Hello,

I'm trying to set an automation so that when I update the worklog of a task in my sprint (e.g. review X contract), it copies the time spent doing that to a linked issue called (X contract) on a different project called 'Contracts'. There is a specific issue type I've created in the 'Contracts' project called 'Contract'.

 

Objective: Each contract in the 'Contracts' project dynamically updates so I can report how long a given contract took me overall.

Update worklog of specific linked issue 1.png

When I test this, the automation does not identify that there are several issues in my sprint that are linked to a 'Contract' issue type. It does not produce an error, just says the condition isn't met.

 

Worth noting that the 'review X contract' task in my sprint might have a number of linked issues. I only want to update the worklog of the 'Contract' linked issue.

 

 

Please could someone help? 

1 answer

1 accepted

1 vote
Answer accepted
Trudy Claspill
Community Champion
October 1, 2024

Hello @Molly Farrow 

Welcome to the Atlassian community.

What is the Scope of the rule on the Rule Details page?

In order to retrieve and edit issues in a different project from the one containing the trigger issue your rule must have a scope that encompasses multiple projects.

Screenshot 2024-10-01 at 9.50.18 AM.png

Rules encompassing multiple project can be created only by Jira Administrators and only from a admin-accessed Global Automation page. If you are not a Jira Admin you will need to work with a Jira Admin to get the rule properly scoped.

It would then be advisable to add conditions into your rule after the trigger to check the Project of the trigger issue, and ensure that it is in the project you expect. With a multiple project rule, issues in any of the projects in scope can trigger the rule.

Molly Farrow
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!
October 1, 2024

Hi Trudy,

 

This is really helpful, thank you! It looks like the scope of my role is limited to the project, so I'll have to talk with our Jira Admin. And noted on adding more conditions to narrow down when the global rule will apply.

 

Warm wishes,

Molly

Like Trudy Claspill likes this

Suggest an answer

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

Atlassian Community Events