How to write setup in Automation for JIRA plugin
that when creating Issue and depending on certain value
automation should create new task and link them.
I have managed to create the new task based on certain value, but
I am unable to link the tasks.
In audit log i get this error:
Unknown fields set during create, they may be unavailable for the project/type. Check your custom field configuration. Fields ignored -Linked Issues (issuelinks)
I have link issue field on create form so this should not be the problem.
Add "Linked Issues" to the "Create Issue Screen" (Jira Settings > Issues > Screens) that is being used.
Hi Derek I have same problem unfortunately this did not help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
for any future visitors, this solved our problem. Thanks
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.
Can confirm that this solved the problem for me. Thanks Derek!
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.
Also worked for me!
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.
Worked. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have an automation step in JSM to create a new story in another Jira Project.
I select 8 fields to set including Linked Issue but that renders as above with 2 fields to enter and there is no "created by" entry for the top field.
I must admit I don't understand why there are 2 fields to enter for linked issues when you are already operating on creating the in situ issue and just want it linked to the trigger.
The drop down for Linked Issue has 100+ entries in it but alas no "created by"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Marc Isikoff For each linked issue you have to set a description and the issue it links to. That's what the two fields are for. So the "created by" is the description option you select and then the second field is the actual issue key you are linking to.
There are also two descriptions for each linked issue type. The outward description and inward description.
Hopefully, this example helps illustrate it a little better. Let's say you have issue A (KEY-1234) you are trying to link to issue B (KEY-9876) saying that B is created by A. When you link the two together the different descriptions help properly label each issue depending on where you view it. When viewing issue A, it could read "created KEY-9876", but then on issue B it could read "created by KEY-1234".
"Created by" is not an out of the box option though, so you would have to add it in the Issue Liking section in the system settings.
Settings > Issues > Issue linking
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Derek,
Thanks..so I need to create a couple different linked issue types that I can use.
I have limited permissions so requested those.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Marc Isikoff Creating the issue linking name and inward/outward descriptions is a one item addition. Once you have the "created by" added, then you can use it over and over again.
"Trigger issue" is the correct one to use as well.
Below is an example of how we use it in automation using the "create new" action. When B is created it grabs the key from A since A is the issue that triggered the automation.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is the linked issue being created by a script, or with an add-on (JSU or something)?
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.
Did you configure the Choose fields to set on the Create issue step?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is what I had forgotten to do set the linked issue field in the automation step of creating an issue. Thanks, @Milo Grika. This solved my problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.