Automation set up - to copy Custom Field to System field on workflow transition.

Anthony August 8, 2022

I have two version fields.

1. One is custom field - API generates custom field for name for this field. So, API is what enters the name of the generated name here.  Field Name = Cus Auto Version

This custom field is on all 3 projects used here.

2. Two is Fix Version needs to be populated with same data from Cus Auto Version field automatically on transition to may be done or in progress.

 

The issue is when transitions goes to in progress, I want a check done to auto populate the Fix Version field with data from  Cus Auto Version field.

Summary then.

Copy data from one field to the other field on transition of status in workflow.

1 answer

0 votes
Manon Soubies-Camy
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 8, 2022

Hi @Anthony and welcome to Community!

Which type of custom field is "Cus Auto Version"? If it is a version picker, you should be able to copy the value from one field to another using the following automation:

 copy-version.png

Hope this helps,

- Manon

Anthony August 8, 2022

The Cus Auto Version is a text based field and not a version picker please.

Thanks for your input indeed.

Manon Soubies-Camy
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 8, 2022

Ok, then I guess you could add a "Create version" action to create the version first and then set the Fix version:

 create-version.png

I can't try it out right now, you may need to add a "Re-fetch data issue" action in-between.

Anthony August 8, 2022

Hi Manon, you got it slightly wrong, the issue is not the Custom field at all, this has already been taken care of by the APi loading the version  number in to the custom field.

 

Am just looking at copying the same information across the  Fix Version field on transition with the  same data information, am not creating a new version. May be it is creating a Fix version with an already available information so to speak.

Summary again.

Cus Auto Version is a field (text based) Api loads this with a version Id.

I just need this copied to Fix version on transition of status to in progress of the same Jira Issue.

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 9, 2023

Hi @Anthony  - Did you get this worked out? What was your solution? 

Suggest an answer

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

Atlassian Community Events