Forums

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

Automation rule for Fix version custom field to System Fix Version field.

Master9 Master9 July 28, 2022

I have a custom Fix version (Custom Field for text) in Jira that is filled by API automatically but I want the same data to auto populate on the Normal Fix Version field in my Jira cloud instance when the issue is in progress or being transitioned to done, I want the custom field data to auto populate on the fix version field with same data if Fix version is empty that is. 

Summary:

1. Data from Custom field - Fix Version filled by API automatically.

2. Same data to Auto Populate to system Fix Version field on Transition of same issue to in progress or in done status.

1 answer

0 votes
Trudy Claspill
Community Champion
July 28, 2022

Are you already creating Versions in the project that match the text values that you are putting in the custom field?

Master9 Master9 July 29, 2022

Yes, the API will automatically add version to the project issue but I just want to ensure that same version string is added to the custom field at a point when the issue is being moved to done or any other status I choose.

The issue is not with the Fix Version content, it is simply to ensure the same is copied across to custom field which has been named (Auto fix version)

Trudy Claspill
Community Champion
July 29, 2022

You can create an automation rule that will copy the value(s) from the Fix Version(s) field to your text field. In the example below my custom Text field is named "Copy Fix Version".

Screen Shot 2022-07-29 at 5.17.28 PM.png

Master9 Master9 July 30, 2022

Hi Trudy,

you got it the other way round, the Api loads the version in to the Text based Fix version field, this is not a problem for me.

The issue is, copying that text based data in the field to the system Fix version on the issue.

Summary:

Two fix version fields are on the screens.

1. is system based - this is the one that needs data copied to by the automation rule from the custom based one below

2. is custom field based - text -  this is the one being loaded with data via API that I want copied over to the System Fix version field above.

Trudy Claspill
Community Champion
July 30, 2022

Will you ever want to have multiple values in the Fix Version/s field?

If you only ever want to have one value in Fix Version/s, and if you have already created the Release with a name that matches the text you are adding to the custom field, then you can use the same rule structure with the following changes:

- Change the field that is being set to Fix Version/s

- Change the smart value being used to {{issue.<name of your custom field>}}

Suggest an answer

Log in or Sign up to answer