Hi, my team is (projet XYZ). There are multiples Initiative across the organization (issuetype = initiative) and I would like to get all the initiatives where my team is involved across the organization
It should look like this request which works for Epics. I would like something similar for Initiatives
I have script runner and Jira Cloud
I can confirm that ScriptRunner for Jira Cloud does not support does not currently support searching for issues below an initiative like you can do in the server version of the plugin.
Also, I can confirm that the issuesInEpics() JQL function only supports getting issues which are below an Epic issue type as described in the documentation page for this JQL function located here.
This means that you will not be able to achieve your requirement of getting issues linked to an initiative inside of Jira cloud currently as we do not provide any JQL functions to achieve this as the server version does with the portfolioChildrenOf() JQL function and if this something you would like to see in the plugin then I would ask you to raise this as a feature request on our public backlog located here so that the product owner can see this.
However, I have checked and Jira Cloud provides some native JQL functions that can be used to search for issues below an Initiative issue and this means you could run a query similar to below inside of the regular Jira JQL search which is similar to below that will return all issues below an Initiative issue and you may be able to use this to achieve your requirement.
issue in portfolioChildIssuesOf("<IssueKeyHere>")
I hope this helps.
This depends totally on how you associate issues to your team. If your team has its work in a Jira project called "XYZ" or in three different projects X, Y and Z, it could be as simple as this:
Issuetype = Initiative AND Project = XYZ
Issuetype = Initiative AND Projects in (X, Y, Z)
That answer is based entirely on the assumption that you have Initiative issuetypes for your team in that / those project(s)
The question remains how you indicate or may retrieve that your team is working on that initiative.
Since you seem to be using Advanced Roadmaps, you have the team field to indicate what issues belong with a team. How we usually set this up is as follows:
We use the advanced roadmaps team field and shared teams for that purpose, by the way.
If we then want to pull a list of initiatives that are/may be relevant for our team, we use the following JQL:
Issuetype = Initiative AND (Team = "My Team" OR Team IS EMPTY)
That may pull in initiatives that may not be relevant to our team, I hear you say. And that is true, but it does pull in all explicitly defined team initiatives and all candidate initiatives as well.
Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...
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