Forums

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

Can we write an automation to edit an issue field in one project

Anjana V K
Contributor
December 20, 2023

Can we write an automation to edit an issue field in one project when the status of an issue in another project transitions?

I have 2 projects A and B.

When the status of an issue in A changes to Completed, I need to copy the value from  custom filed Version in that project to project B.

2 answers

1 vote
Antuan Sammak
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 21, 2023

Hi @Anjana V K 

 

yes, you can.

first, start by using the trigger as issue transitioned and select the relevant statuses you are after.

then add a condition from type "issue field condition" and select project field and then select value as project A.

then create a variable and assign to it the value of custom field suing smart values.

last you can assign the variable value to any ticket you want in project B based on branch using JQL query  

 

hope the above helps.

Anjana V K
Contributor
January 1, 2024

I will try out the suggested method for sure. Thanks

0 votes
Bill Sheboy
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 21, 2023

Hi @Anjana V K 

Yes, that can be done.  The rule will need to a have multiple-project or global scope to work on both projects.  Such rules are created from the global rules area; as you appear to be a site admin, you should be able to do that.

https://support.atlassian.com/cloud-automation/docs/create-and-edit-jira-automation-rules/#Edit-the-details-of-a-rule

Kind regards,
Bill

Anjana V K
Contributor
January 1, 2024

Thank you. Will check

Like Bill Sheboy likes this

Suggest an answer

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

Atlassian Community Events