I need some help with automating the team association for epics and stories on roadmaps (My Jira instance is Jira Project Management Software v9.7)
Fist step:
I need help with retrieving the associated Team IDs for all active Jira Projects- could we have an export in a spreadsheet with - JIra project
name + team ID + any other relevant fields
Second Step:
Setting at each active Jira Project level the automation for associating the Team to each new epic and new story at creation.
Hi @Ximena
You should be able to get the Team ID via the API.
https://<company_url>/issues/rest/teams-api/1.0/team
JQL, should be able to get you all issues where a team value has been set. You can export this and deduct which team is used in which project
You can't get this information in an export. You should be able to get all information and combine it all, to get your required overview.
Automation is only on issues created in a project.
You will need to use an Edit action and then use more options setting, where to define in JSON format the action
Example for setting a team field:
{
"fields": {
"customfield_10100": "482"
}
}
Hello Marc,
Thanks for your answer and a thousands of apologies for my late reply. I think that I should have been more clear with my question. I am a beginner
and get confused.
Unfortunaley the https://<company_url>/issues/rest/teams-api/1.0/team did not work with my Jira instance.
When you say "JQL, should be able to get you all issues where a team value has been set." How is the value set ?
For the automation I need to know the value "482" as per your example":
{
"fields": {
"customfield_10100": "482"
}
}
The way I get that value is by doing:
https://jira.instance/rest/api/2/issue/issueid?expand=names
and then locating the customfield in the output.
Is there another way ?
I need all the different values for the same customfield (in this case 'rm.teams.plugin.customfield.team.title') of all projects that have a roadmap and was
wondering if this can be done in one request via the API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ximena
I see I used the wrong URL, my bad.
The URL should be https://<company_url>/rest/teams-api/1.0/team
Can you confirm this is working and you are able to get all Team ID's
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.