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

Modify Dashboard from within Jira Rest Api Edited

Deleted user Mar 12, 2021

Hi there,

I am writing shell scripts using cURL against the Jira Rest Api.

I was successful creating filters and changing the permission.

Now I want a Dashboard that show these new filters.

I have an example Dashboard that could be copied and modified.

But somehow I stuggle using the Rest Api.

I can show the example dashboard

But I cannot get items or properties since I don't know how to get the Ids.

I found an article in the internet that extracts the id from the Html div (e.g. <div id="gadget-41304-renderbox"> - the Id is 41304).

What am I missing here?

To be honest I only want to exchange the used Filter Results from within the Dashboard.

So currently the Dashboard shows Filter Results for filter "something" and I want the Dashboard (or its copy) to show Filter Results for the created filter "anything".

 

Thanks,

Marco Schmitz

2 answers

Hi @[deleted] ,

Welcome to Atlassian Community!

Unfortunately there are no rest API for Server to create/update a dashboard, see below issue for more info:

https://jira.atlassian.com/browse/JRASERVER-36765

0 votes
Deleted user Mar 12, 2021

Well, maybe I checked the wrong Jira distribution.
I am using this documentation (more or less successfully): https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-dashboards/#api-rest-api-3-dashboard-post

Ah ok, so you are using Cloud.

I've found couple open questions and I'm afraid there isn't a public rest API to modify a dashboard to Cloud as well.

https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-obtain-ItemId-in-api-2-dashboard-dashboardId-items-itemId/qaq-p/514115

https://ecosystem.atlassian.net/browse/ACJIRA-241

My suggestion is to keep this question open for a while, and see other opinions about this.

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