Set project Field Configuration Scheme programmatically

Charly [DEISER]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 21, 2013
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
Answer accepted
Charly [DEISER]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 21, 2013
Thanks to all. i found a solution here :-) https://bitbucket.org/topmanage/tm-project-templates/overview
Diogo Cardoso July 24, 2013

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
Charly [DEISER]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 25, 2013

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

Diogo Cardoso July 28, 2013

Ok, thank you very much!

0 votes
Nitram
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 21, 2013

Suggest an answer

Log in or Sign up to answer