Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Updating a filter JQL query via REST API in JIRA automation based on input from another filter JQL q

Mathias Minsel
October 25, 2023

Hi all,

I want to update a filter JQL query via REST API in JIRA automation based on input from another filter JQL query.
It's a bit similar to the to the topic described here: https://community.atlassian.com/t5/Jira-Software-questions/Updating-a-filter-JQL-query-via-REST-API-in-JIRA-automation/qaq-p/2475467

I have JQL query 1 in this systematic:
(issuekey in portfolioChildIssuesOf(PDI-482) or issuekey in portfolioChildIssuesOf(PDI-483)) AND "Scrum Team[Select List (multiple choices)]" in ("X Team") and issuetype in (Bug, Story) AND "Completion Date[Date]" >= "-12w" and status in (online, done)

I want to dynamically change this part of the JQL: PDI-482, PDI-483, etc.

Therefore I have another JQL query 2 like this:
("Scrum Team[Select List (multiple choices)]" in ("X Team") and issuetype in (PDI) AND "Completion Date[Date]" >= "-12w" and status in ("development completed", done, "Launch Validation", Closed, Rejected)) OR ("Scrum Team[Select List (multiple choices)]" in ("X Team") and issuetype in (PDI) and status in (scheduled, development))

I want to put the results from query 2 in the form of (issuekey in portfolioChildIssuesOf(PDI-482) in query 1 on a regular basis.

I don't have much experience with using REST API so I would be really happy if you have either learning resources about that or a specific idea how I could implement my use case. 

Kind regards and thanks a lot for your help and support.
Mathias

1 answer

0 votes
Prakhar Srivastav {Appfire}
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 Champions.
October 29, 2018

@Daniel Deng

You can add and arrange more fields in the issue detail view so when you click then you can see more details.

You can change the card colors to help your team quickly identify the cards on your board as being of a particular issue type, priority, assignee, or anything you choose.

But the field limit is only 3.

 

https://confluence.atlassian.com/jirasoftwarecloud/customizing-cards-764478020.html?_ga=2.72143120.2056532550.1540794332-271938178.1534227463

 

Regards

Prakhar

Daniel Deng
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 Champions.
October 30, 2018

Hi Prakhar

Thanks for your reply! As I mentioned, I know that feature, but just need something more

1. More columns displayed as the default columns

2. More than 3

Is it something not supported by Jira? Any plugins can do it?

Like Neelima SV likes this
Terry Benni
January 7, 2020

Did you ever figure this out?

Matthias Runte
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 7, 2021

Any findings on this matter yet? I am interested as well.

Sylvie Bracke
August 31, 2021

I'm interested as well, for eg  adding our Planned Release as a column

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events