Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how to copy screen/screenScheme/IssueTypeScreenScheme via JIRA API

From JIRA admin page, i can see the "Copy" button to copy screen/screenScheme/IssueTypeScreenScheme. is there any JIRA API on this?

2 answers

0 votes
Deleted user Jun 14, 2018

Hi @BrianL,

 

You can do it by using the JIRA Command line (CLI) Interface add-on. Here is the link

This add-on will meet your requirement.

 

Regards,

Gangavath Kishore Kumar.

hi @Mark Markov, i looked the two api before, but i only see "create" new screen/scheme but not "copy" the existing one.

"create" new screen/scheme would need to get the field layout of the source screen (taps, fields) and then add to the new one. Lots of things needed in this way. So i'm wondering if there is any straightforward function like copyWorkflow (link below), that would save lots of work.

https://docs.atlassian.com/software/jira/docs/api/7.6.1/com/atlassian/jira/workflow/WorkflowManager.html#copyWorkflow-com.atlassian.jira.user.ApplicationUser-java.lang.String-java.lang.String-com.atlassian.jira.workflow.JiraWorkflow- 

Unfortunately there is no straightforward method like copy. To copy you will need to get existing schemes, layoutitems etc. and based on this objects create new one or use some plugin like @[deleted] mentioned before.

I tried to copy the whole project:

 

/rest/project-templates/latest/createshared/{projectId} 

 

https://community.atlassian.com/t5/Jira-questions/How-to-create-project-with-shared-Configuration-via-REST-API/qaq-p/650062

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you