programaticlly set custom name for cloned plan

deependra97 December 19, 2023

I am using a bamboo rest api to clone existing plan to new plan, here is the api endpoint: 


curl --request PUT \ --url 'http://{baseurl}/rest/api/latest/clone/{projectKey}-{buildKey}:{toProjectKey}-{toBuildKey}' \ --header 'Accept: application/json'



It's working fine, however the new plan(cloned from existing name) has the same plan name with appended((dvcsci-cloned)) , Is there any way to set a custom name in cloned plan? 

 

Any suggestions or recommendations are appreciated. 

1 answer

1 accepted

1 vote
Answer accepted
Shashank Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 19, 2023

Hello deependra97,

Welcome to Atlassian community.

I don't think so you can pass Plan name in Clone REST API endpoint, as it does not accept plan name as input.

image.png

There is however a feature request raised for the same, kindly refer https://jira.atlassian.com/browse/BAM-20098

Regards,

Shashank Kumar

**please don't forget to Accept the answer if your query was answered**

deependra97 December 19, 2023

Thanks, I have upvoted as well. Let's hope it will be available soon.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events