Set project Field Configuration Scheme programmatically

Hi, We are trying to set some project schemes programmatically for an inside development. We are able to set some schemes like: notification scheme, issue security scheme, permission scheme, issue type screen scheme, etc. using WorkflowSchemeManager, PermissionSchemeManager, etc etc etc. But we don't know how to set the Field Configuration Scheme and the Issue Type scheme Any ideas on how can we set those 2 schemes to projects??? Regards

3 answers

1 accepted

0 votes
Accepted answer
Thanks to all. i found a solution here :-) https://bitbucket.org/topmanage/tm-project-templates/overview

Hi Carlos!

Can you please give me some advice on how to set a project programmatically? I want to create a simple plugin. With a simple click it should create a new project using the definitions (the schemes) that I've programmed before. However, there are no tutorials on this subject on the developer documentation and I am not familiar with JIRA plugin development... Thanks in advance.

1 vote

Hi Diogo.

We are going to put a similar plugin in the Marketplace very soon. Maybe you can wait a little bit!

There are different approach to acomplish this. but if you are not familiar with Plugin development, you should first read https://developer.atlassian.com/display/JIRADEV/JIRA+Plugin+Guide

There you are going to find the basics of plugin development.

After that you can go to https://bitbucket.org/topmanage/tm-project-templates/overview

You can follow that code to clone project properties.

Then you have to decide if your plugin is going to create projects via REST or a plugin webwork.

That choice is going to set the path you have to follow.

Hope this can help you.

Regards

Ok, thank you very much!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,784 views 18 22
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you