Need help with a specific issue I'm trying to solve using automation rules between two projects.
I have created an automation rule for when a specific issue type is created in Project A, it creates a new issue in Project B. Both projects have different issue types as they handle different ticket types. The rule links both issues so it is easy to reference and adding a comment for paper trail.
My issue is: I would like to edit the issue that is created from the rule (created for Project B) but I do not know how to auto-set the Request type for the Project B newly created issue/ticket using the automation rules.
When I select to add a component to "edit" the issue type within the automation rule, it triggers an error: "Sorry, but changing the Customer Request Type is currently not possible, since Jira Service Management does not provide an API for this."
Is it possible to create a new ticket using automation and set a specific Request Type in Project B? Hopefully that all makes sense and I'm happy to elaborate more. Thank you everyone!!!
While setting the Request Type is not possible on the Create Issue action, you can use the Create a Request action and select the target request type instead of issue type.
I think what you reported might be available in the future. It seems that is related to the feature request described here that is under Future Consideration: https://jira.atlassian.com/browse/JSDCLOUD-1835
thank you Loana for the detailed help and screenshot! I tried to setup the automation rule with the exact setup >> created a new ticket and the rule failed. I noticed it did not create a ticket in the other project and the error message I am not sure about. Do you know how to define the ID/key?
It also failed due to a date field that had an error. :(
The ticket/request creation failed because you have 2 mandatory fields on the request type:
The second error related to linking issues is normal. Because the ticket was not created in the second project, the rule couldn't find a ticket id/key to use to link it to the trigger issue. So, since no "recently created issue" exists (as it was not created), no ID exists and the linking fails.
Now, in order for your automation to work you will have to remove the validation of the Attachment field and make it optional on the request type in the second project. Unfortunately it is not possible to set the Attachment field during creation of a request from the automation rule.
As for the Employee Start Date you can set it on the same action that is creating the request in the second project. You can either select a certain value or copy it over from another date field from the trigger issue.
hi Loana! Thank you so much and I sincerely appreciate your help! I made an adjustment to the required fields of the Start Date and the Attachment.
Is there a way to link the tickets so they are easy to link back? - I would like to link the ticket created from Project A and B if possible. Or maybe create a separate rule to link so its doesn't conflict.
For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...
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