Hello,
I am encountering some issues trying to create the following behavior using Automation:
Context:
I have a project A with tickets A-1, A-2.
I create a release/version named "v1" which contains ticket A-1, A-2.
I have a project B with no tickets.
I want to create a button which create ticket in project B, and link the created ticket to all the tickets in the same release of the ticket A-1.
Basically this behavior is for managing the Change Advisory Board process so the all the release's tickets of project A are linked to one ticket in the project B which will handle the Change Advisory Board process.
Expected result: Ticket B-1 created, and linked to A-1 and A-2.
What i tried to do :
Until this step, everything works as expected
I attached the screenshots of my rule, which are in french (all apologies)
Hi @Antoine B - Because you're dealing with two projects, the Project Scope in the rule detail needs to be set to multiple projects. You need to be a Jira Administrator to change project scope (System >> Global Automation)
Hello Mark,
Thank you for your quick answer.
I checked and my rule is defined in All project scope.
The logs are saying the following (traduced from french, sorry if not accurate) :
Unable to create a rule branch because this option requires one of few tickets as context. The trigger you ar eprobably using is not related to the version. Creating a version doesn"t place is as context, you have to directly add it a branch component.
But i don't really understand what i need to do to fix it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the added detail. I think the problem is that the branch for version is based upon rules that have a version-based trigger. Instead of branching based upon trigger, I would perform a JQL branch similar to your first condition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Mark, i changed my branch for JQL search and it worked.
That makes:
For JQL Search : project = F1 and release = F2
Link to : last created ticket
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.