Hello everyone,
We have our Confluence page for each step of a sprint and this page needs to be updated every sprint with the sprint related stories.
The team, usually updates the Jira query or filter manually when editing the Confluence page each sprint. The issue is that this is a manual process prone to human error. I have pasted bellow How the page usually looks once all the data is pulled from JIRA.
My idea was to write a script, not sure in which language or how to link it to both Confluence and JIRA, haven't written scripts at all.
These are the steps that I have identified on what the script should update:
- For project is CLOUD and issuetype is STORY change currentFixVersion from … to … and nextFixVersion from … to …
This is our current JIRA query:
project = PROJECT NAME AND issuetype = Story AND fixVersion in (S4.3.20, S4.3.20DF, S4.3.20FT, S4.4.20, S4.4.20DF, S4.4.20FT) AND fixVersion not in (S4.2.20FT, S4.5.20DF, S4.6.20DF, S5.1.20DF,S5.2.20DF) AND ("Lead Countries" = "COUNTRY NAME" OR "Other Countries" in (COUNTRY NAME AND ALL)) AND (COUNTRY NAME != "Not Applicable")

Thank you for your help and please ask any questions that might make this clearer.