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
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So simply change the last Action to edit the field you want instead of the security level.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Send some images so i can understand the use case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @arielei , Thanks for the support
I have 2 issue types
1. Instance
2. Task
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are the Asset custom fields are looking at the same object scheme?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @arielei , Sorry for this
May I know what is object scheme.
Can u send one example what exactly you understand on this
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @arielei , please find the screenshot it may be helpful for easy undesratnding if not please let me know
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.