Forums

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

need to copy system data in Task issue to severity in instance ticket while linking using automation

thumuluru_shreya
Contributor
June 8, 2025

I have system data field in task issue and severity field in instance ticket. Whenever the instance ticket is linking to task then the value of system data should be copied or auto populated to severity field in instance ticket using automation in jira cloud.

 

Can anyone help in this 

1 answer

0 votes
arielei
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.
June 8, 2025

hey @thumuluru_shreya 

I suggest that you will create the following automation:
Trigger = Linked issue

Create Var = NewSeverity, Value = 0

On Branch - Relate - Linked issues

Create var = Severity, Value: {{issue.severity}}

Then, run IF ELSE and compare the VAR to the actual severity 

If match - set Var "NewSeverity" = the result of the IF condition.

Then out of the Branch - run Edit Work-item action and set the severity field with {{NewSeverity}}

 

Good Luck.

Ariel

thumuluru_shreya
Contributor
June 8, 2025

Hi @arielei , If its possible can you elaborate the automation or could you send the rule so that it will be helpful for me.

 

Thanks

arielei
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.
June 8, 2025

Hey @thumuluru_shreya 

First, make sure that you add to every security level the project role: atlassian-addons-project-access as it will be the one who will run the automation.

arielei
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.
June 8, 2025

Screenshot 2025-06-08 at 19.21.19.pngScreenshot 2025-06-08 at 19.21.30.pngScreenshot 2025-06-08 at 19.21.39.png

thumuluru_shreya
Contributor
June 8, 2025

Hi @arielei , I am not using any security levels and severity levels in my project. those are sample fields which I asked the question. The original fields which I am using in our project/requirement is different. Hope you understand. Could you please confirm that have you understood the same.

 

Thanks

arielei
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.
June 8, 2025

Hey @thumuluru_shreya 

So simply change the last Action to edit the field you want instead of the security level.

thumuluru_shreya
Contributor
June 8, 2025

Hi @arielei , I am using 2 customfields for this automation, One is Asset and other field is asset history. And Asset will be there in Instance ticket. And asset history will be there is task issue type. whenever instance is linked to task issue. the field value present is asset history needs to copy/autopopulate to asset in instance ticket. so here I am using 2 customfields are different from 2 different tickets. whenever the linking happens then only the autopopulation needs to happen.

The link from instance to task is- is a defect of

The link from task to instance is- has a defect

 

Could you please help me in this. It will be very helpful.

And the automation rule which you sent I wanted to know is have you used 2 different customfields in your automation if its used. Could you please tell me. I didnt get

arielei
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.
June 8, 2025

Hey @thumuluru_shreya 

Send some images so i can understand the use case.

thumuluru_shreya
Contributor
June 8, 2025

Hi @arielei , Thanks for the support

I have 2 issue types

1. Instance

2. Task

  • In instance issue type we are using Asset customfield
  • In Task issue type we are using Asset history customfield.
  • Both fields are different and they are using in different issue types as mentioned task and instance.
  • The link used from instance-----is a defect------>Task
  • The link used from Task-------has a defect---->Instance

 

 

My requirement is whenever the link happens between these 2 issues the asset history customfield value which is present in task issue type should be copied to the asset customfield in instance issue type.

 

So whenever the link happens between those 2 issues the customfield value should be autopopulated.

 

Hope you understood

 

Thanks,

arielei
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.
June 8, 2025

Hey @thumuluru_shreya 

Are the Asset custom fields are looking at the same object scheme?

thumuluru_shreya
Contributor
June 8, 2025

Hi @arielei , Sorry for this

 

May I know what is object scheme.

Can u send one example what exactly you understand on this

 

Thanks

arielei
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.
June 8, 2025

Hey @thumuluru_shreya 

I suggest that you will send some images to understand exactly what you need.

if the custom fields are looking at the same object scheme is easy to populate the fields.

if not, you will need to have an IF ELSE condition in your automation as set the result per value.

thumuluru_shreya
Contributor
June 8, 2025

Hi @arielei , there are no images to send.

 

I send the scenario right. I am using 2 different customfields that is for suppose system and asset recharge in 2 issue types.

Assume that

System customfield- Task issue type

Asset recharge-Instance issue type.

Both are multi select type field only.

 

Whenever the link happens between 2 issue types the system customfield value needs to autopopulate to asset recharge customfield in instance ticket.

 

Thanks

thumuluru_shreya
Contributor
June 8, 2025

Hi @arielei , please find the screenshot it may be helpful for easy undesratnding if not please let me know

Screenshot (1600).png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events