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

Your Points Tracker
  • 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
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?
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

Create and share filter & board using scriptrunner (JIRA Cloud)


I'm trying to create a filter & board and share it using scriptrunner (JIRA cloud), I know that it's possible in JIRA server as it's available in the documentation but I can't find anything related to this topic in scriptrunner documentation for JIRA Cloud.

Anyone has already did it in JIRA Cloud ?

Thank you.

2 answers

Hi Ziad,

Thank you for your question.

I can confirm that Atlassian provides the Create Filter API and you will need to make a  rest call to this API to create a filter inside of your script.

Also I can confirm that, for creating boards that you can make a separate Rest API Call to the Create Board API in order to create a board after you have created your filter.

I do not have any examples of how to use these API's that I can share but would advise using these documentation pages as reference guides and testing your script on the Script Console to figure out how the API's work.

I hope this information helps.



Thank you @Kristian Walker _Adaptavist_ for you answer, however I just found a solution, here's the code using scriptrunner in Cloud:

// Search using jql

def jqlSearch = "project in (P1, P2) AND issuetype = Epic order by created DESC"

// Create filter (here the name is Test2)

def filterid=post("/rest/api/3/filter")

    .header('Content-Type', 'application/json')


        "jql": jqlSearch,




// Get the filter permission & add the project with id (here the id is 10002)

// We can use "type": "group", "groupname": "site-admins" if I want to give permission to a group


    .header('Content-Type', 'application/json')


        "type": "project",

        "projectId": 10002,




So I'll try to proceed with the same concept for the board creation & will share the code once done.

Thank you

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Marketplace Apps & Integrations

Staying organized with Jira: best practices for a better project management

Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...

322 views 2 1
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