Hi community,
I'm trying to set up an Automation to achieve the following;
I managed to create the parent page (for the Epic) and the child pages (for each of the child issues/stories of the Epic) and I was also able to populate the confluence pages with content by using web requests. For example, I created a new variable in the automation and can use this variable to be included on the confluence pages of the child issues, so that they are correctly nested under the parent page. I followed the official documentation here and utilized the "custom data" section for the "web request body". In other words, the web request body to create the confluence pages sets aspects like the space where the confluence page should be created, the title, the parent etc.
However, I could not find any information on setting labels for confluence pages created via web requests from a Jira automation. Is there a way to set labels for confluence pages via Jira automation and the method of using web requests that I'm using?
Hi @Philip Kroos - TEAM XALT - your automation sounds pretty cool!
To add labels, you have to use a v1 API endpoint:
It seems like the v1 Content Create endpoint would allow you to set labels (under the "metadata" section) when you create the page, but that endpoint is supposed tagged as deprecated:
References:
Hi Philip,
seems that Darryl provided the missing part.
I just want to add. If you don't mind using an App. We developed AutoPage that is pretty much designed for such use cases as yours.
In addition to the initial creation of a page the content stays always in sync with the jira issue or it can be defined at which time of the jira workflow the page will be updated.
If synchronization later on is not a point for you, your solution sounds valid too :)
cheers
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.