Why are there many database queries running when change the issue type scheme ???

I can see many database chanages when chagning the issue type scheme

"INSERT INTO configurationcontext (ID, PROJECTCATEGORY, PROJECT, customfield, FIELDCONFIGSCHEME) VALUES ('39160', 'null', '10202', 'issuetype', '10052'"

"INSERT INTO configurationcontext (ID, PROJECTCATEGORY, PROJECT, customfield, FIELDCONFIGSCHEME) VALUES ('39161', 'null', '10238', 'issuetype', '10052'"

"INSERT INTO configurationcontext (ID, PROJECTCATEGORY, PROJECT, customfield, FIELDCONFIGSCHEME) VALUES ('39162', 'null', '10105', 'issuetype', '10052'"

"INSERT INTO configurationcontext (ID, PROJECTCATEGORY, PROJECT, customfield, FIELDCONFIGSCHEME) VALUES ('39163', 'null', '10239', 'issuetype', '10052'"

"INSERT INTO configurationcontext (ID, PROJECTCATEGORY, PROJECT, customfield, FIELDCONFIGSCHEME) VALUES ('39164', 'null', '10158', 'issuetype', '10052'"

INSERT INTO configurationcontext (ID, PROJECTCATEGORY, PROJECT, customfield, FIELDCONFIGSCHEME) VALUES ('39165', 'null', '10193', 'issuetype', '10052'"

"INSERT INTO configurationcontext (ID, PROJECTCATEGORY, PROJECT, customfield, FIELDCONFIGSCHEME) VALUES ('39166', 'null', '10149', 'issuetype', '10052'"

"INSERT INTO configurationcontext (ID, PROJECTCATEGORY, PROJECT, customfield, FIELDCONFIGSCHEME) VALUES ('39167', 'null', '10150', 'issuetype', '10052'"

"INSERT INTO configurationcontext (ID, PROJECTCATEGORY, PROJECT, customfield, FIELDCONFIGSCHEME) VALUES ('39168', 'null', '10118', 'issuetype', '10052'"

"INSERT INTO configurationcontext (ID, PROJECTCATEGORY, PROJECT, customfield, FIELDCONFIGSCHEME) VALUES ('39169', 'null', '10133', 'issuetype', '10052'"

"INSERT INTO configurationcontext (ID, PROJECTCATEGORY, PROJECT, customfield, FIELDCONFIGSCHEME) VALUES ('39170', 'null', '10121', 'issuetype', '10052'"

"INSERT INTO configurationcontext (ID, PROJECTCATEGORY, PROJECT, customfield, FIELDCONFIGSCHEME) VALUES ('39171', 'null', '10153', 'issuetype', '10052'"

"INSERT INTO configurationcontext (ID, PROJECTCATEGORY, PROJECT, customfield, FIELDCONFIGSCHEME) VALUES ('39172', 'null', '10104', 'issuetype', '10052'"

"INSERT INTO configurationcontext (ID, PROJECTCATEGORY, PROJECT, customfield, FIELDCONFIGSCHEME) VALUES ('39173', 'null', '10226', 'issuetype', '10052'"

"INSERT INTO configurationcontext (ID, PROJECTCATEGORY, PROJECT, customfield, FIELDCONFIGSCHEME) VALUES ('39174', 'null', '10244', 'issuetype', '10052'"

"INSERT INTO configurationcontext (ID, PROJECTCATEGORY, PROJECT, customfield, FIELDCONFIGSCHEME) VALUES ('39175', 'null', '11758', 'issuetype', '10052'"

"INSERT INTO configurationcontext (ID, PROJECTCATEGORY, PROJECT, customfield, FIELDCONFIGSCHEME) VALUES ('39176', 'null', '10243', 'issuetype', '10052'"

"INSERT INTO configurationcontext (ID, PROJECTCATEGORY, PROJECT, customfield, FIELDCONFIGSCHEME) VALUES ('39177', 'null', '10498', 'issuetype', '10052'"

Why these lot of changes?????????

1 answer

1 accepted

Hi,

The short answer is because there are.

When you change a issue type scheme, field relationship changes, issue relationship changes, the project meta data changes, etc, etc. The old relationships are removed and the new relationships are put into place. There are many records that need to be created.

Now could the Jira code be more efficient and use array binding, yes, but then it would need specialized code across the various databases. As long as the operation completes it should not matter.

In my opiinion changing the issue type scheme should not be a daily event, so if it is slower than other operations it should not matter.

I want to know one more point also. Im creating a plugin to update

  • Field Configuration Scheme
  • Workflow Scheme
  • Mail Configuration
  • Project Category

and Issue type scheme. I creaded methods for update those scheme except issue type scheme. Plugin is working fine and i can update those schemes. Problem is on Issue type scheme. Beause i cant find a way to do it beacuse there are many implementation. How can i create method for update issue type scheme using soap plugin..

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

164 views 1 17
Join discussion

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