Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

API Board mgt Edited

Hi,

I play with autonomous system to create project and onboard users (Jira server 8.13.2).

I discovered when you create a project a board is created automatically.

Interesting things (or strange things, to depend of the point view) the API user who makes the project creation request is automatically administrator of the board (?).

Additionally I don't find a way, with the API, to manage the board:

  • for deletion: as the issue type scheme, when we delete a project we must have a dedicated process to clean many assets
  • for user perm: to remove this administrator privilege set on the bot who performs the request of creation

Question: someone knows how to manage properly the board with API?

Thanks in advance for your support and take care :D!

1 answer

0 votes
JimmyVanAU Community Leader Feb 27, 2021

Hi Guillian, 

Not answering your question directly, but can I challenge your process?

It looks like you want to create a project and then after creating the project, automatically change/delete some configurations and add others. Can I ask, is it possible you create a project with shared settings?

So you create a default template project, with all your desired workflows, issue types, boards (or no boards) etc, then you copy the project, based on endpoint:

/rest/project-templates/1.0/createshared/{{projectid}}

Would that work for you?

Hi Jimmy,

Thanks for your support and no issue to challenge my process :)

Interesting proposal that I must try but I don't understand well how it can solve my issues.

In fact each new project is independent of the others (so dedicated Issue Type Scheme, Lead, sometime they need Board so with a specific admin) and I presume when I will order a new project through the template with a Board, the Board will still have the creator as owner, no?
If a create a template without the Board that means I must also open and manage a new request type (ITSM) to allow customer to request a Board when currently they have it by default (plus the number of template to manage).
When the project will be over, I'll have the same problem with the capacity to delete  the project only and not the Board.

In complement and because I've a full CI/CD pipeline to valid and deploy the automation with an high quality (yes it happens ^^), after the run of the functional tests I let you imagine the number of shadow ressources not used (and I've not the capacity today to deploy a new instance for each pipeline execution). 

Do I made mistake in the analysis? Do not hesitate to correct me and Thanks once again to help me :D

Have a great day and take care.

Like JimmyVanAU likes this
JimmyVanAU Community Leader Mar 01, 2021

Great to hear you've streamlined admin of the app :) This makes more sense.

After a little digging, I found the Jira Agile/Jira Software REST API documentation, separate to the standard Jira API documentation.

To delete a board, try

DELETE /rest/agile/1.0/board/{boardId}

This is from https://docs.atlassian.com/jira-software/REST/8.13.1/ (8.13.1 should be changed to the version you're running for strict correctness, but the APIs for board management have not changed in a while).

I can't see any API to manage users. There an old JAC requests for the GET endpoint -- https://jira.atlassian.com/browse/JSWSERVER-13011 - and given there's no GET, I'm doubtful there is a POST/PUT to manage user permissions on the board.

Cheers, Jimmy

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

ThinkTilt is joining the Atlassian Family!

This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...

430 views 19 23
Read article

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