Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,501
Community Members
 
Community Events
165
Community Groups

Needs some guidance with Automation - Service desk to project

Hi All, 

Racked my brain trying to figure this one out, but to no avail. Thought I'd come to the experts to try and help me out.

 

I have a Service Project that I am successfully able to clone an issue and send it to a "Project" AKA our Pipeline. 

We are also using this Pipeline for more Project Management type of projects, so we have Advanced Roadmaps and have created our own Initiative type called Project, with Milestones being underneath that. 

What I would like to do is create an automation for one of these situations:

1. If a new "Initiative" is created in this pipeline, Create Milestones as children under that Initiative, these would have specific names based off of the Initiative. (Kickoff/Plan {{issue.summary}} , ETC)

2. Since I am Cloning the issue I thought that perhaps when an issue is moved from that service desk project to this Pipeline, then create new milestones under that (but I realize there is no way for it to know what randomly named parent is). 

3. I also watched some videos where they had If the issue matches JQL (type = project), then create a new milestone in the same project. However that doesn't work for me either. 

 

I have tried from simple to complicated, so hopefully you all can help me out. I am willing to try anything or reference any source material to try and get this to work. 

 

 

 

 

snip 1.pngsnip 2.pngsnip 3.png

 

 

1 answer

1 accepted

0 votes
Answer accepted
Eric Atlassian Team May 23, 2022

Hi @Joshua Hill 

 

The first one is really close actually! Just missing the bit to link up Milestone to Project. To do this, you need to click in on "More options" and specify the relationship in the "Additional fields" section. See below:

set-parent-link.png

Hope that helps.

 

 

Eric

thanks Eric, I'll give that a shot today!

hey @Eric ,

 

getting an error in the automation. any suggestions here are greatly appreciated!

 

Create issue
Error creating issue
Epic Name is required. (customfield_10011)

Eric Atlassian Team May 23, 2022

Hi @Joshua Hill 

 

Are you creating an issue of type Epic somewhere? (Sorry, not obvious from your previous screenshots - I thought you're creating an issue of type Milestone?).

 

If you are creating an Epic, you need to set the "Epic Name" field in the "Create issue" action.

 

Eric

@Eric 

 

ok that all seems to work when a new project is created, but when i try to transition an issue from service desk with automation to create a new project in the destination project, it wont create all the epics. 

 

So on its own, in the destination project, if i create a project, it will create all my epics with automation. But when I transition an issue into the destination project from another project it does not work. 

 

Any thoughts there? 

Eric Atlassian Team May 26, 2022

@Joshua Hill 

 

To confirm my understanding, are you saying your rule is not running when the issue is created by another automation?

 

If so, you need to go your Rule details section and tick "Allow rule trigger".

 

 

Eric

it all works!! thank you so much @Eric  !!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Atlassian Automation

Jira Automation: Sum Up Story Points Roundup (Initiatives -> Epics -> Story/Tasks -> Subtasks)

Hi Everyone, In this roundup we combine all the jira automation rules to sum up story points across different issue types. We start from the lowest level, summing up story points from sub-tasks t...

1,849 views 2 7
Read article

Community Events

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

Events near you