I am working on defect clone automation for program variants for which affect version is mandatory field. Currently in JIRA sandbox affect version is available for only few programs but we need it for all the programs.
Need support in getting affect version for all the programs.
To get the latest affect version for all programs in JIRA Cloud and ensure it's available for defect clone automation, follow these streamlined steps:
Enable Versioning for All Programs:
Ensure version management is enabled in each project's settings under Project settings > Versions.
Verify Affect Version Field Configuration:
Check that the Affect Version field is added to the relevant screens for issue creation, editing, and viewing through Project settings > Issue types.
Automate Retrieval of Latest Affect Version:
Use the JIRA Cloud REST API to dynamically fetch the latest version for each program by calling GET /rest/api/3/project/{projectIdOrKey}/versions and selecting the most recent one based on release date or sequence.
Test Your Setup:
Test the updated automation in your JIRA sandbox to ensure the latest affect version is correctly applied for all programs.
This approach ensures that your defect clone automation always includes the mandatory latest affect version for any program.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.