create a button in confluence when I click on which tasks will be created in Jira
Asked by ?????:

Hello.

Can anyone tell me how to create a button in confluence when I click on which tasks will be created in Jira?

Jira, I have a server version. Creating tasks through a macro does not work due to an error that we cannot solve for a long time.![IMG_8094.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/272406i7554A2CAFF046F0E/image-size/large?v=v2&px=999 "IMG_8094.jpeg")


Answers:
author: Kseniia Trushnikova
body: Hi [@?????](/t5/user/viewprofilepage/user-id/4558248),

There's a bug in Confluence that prevents creation of a new issue in Jira if there are required fields: <https://jira.atlassian.com/browse/CONFSERVER-41726> As a workaround, set the field ?????? optional.

You can also try to create custom buttons with images and direct HTML links (insert images and add links to them) which will not create a Jira issue but will open a Create Screen with prefilled fields. See the instruction here: <https://confluence.atlassian.com/jirakb/how-to-create-issues-using-direct-html-links-in-jira-server-159474.html>

comments: author: ?????
body: Hello. Thanks for the information. I realized that the link does not fit me.  
We will still have to solve the issue with the error in the "project" field. This is a system field, how can I make it optional??? And is it possible?? After reading the information on your link, I didn't find anything similar :(  

![IMG_8096.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/272452i7020ED6CD798606A/image-size/large?v=v2&px=999 "IMG_8096.jpeg")


author: Kseniia Trushnikova
body: [@?????](/t5/user/viewprofilepage/user-id/4558248), are you sure there's no *custom* field named Project in the project TestInsight?

Try to select project **test** in the pop-up window instead of TestInsight in Confluence and check if the error appears.


author: ?????
body: [@Kseniia Trushnikova](/t5/user/viewprofilepage/user-id/4593830)

Yes, I'm sure it's a system field. We don't have a custom "project" field. Here is the same error with the "test" project. And a photo of the fields used when creating a task in this project.

![IMG_8097.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/272460i58FDCDF598CAA45D/image-size/large?v=v2&px=999 "IMG_8097.jpeg")![IMG_8098.jpeg](https://community.atlassian.com/t5/image/serverpage/image-id/272461iC0C2FEAC7E47D51F/image-size/large?v=v2&px=999 "IMG_8098.jpeg")


author: Kseniia Trushnikova
body: [@?????](/t5/user/viewprofilepage/user-id/4558248), I see. For some reason I can't reproduce your issue. Can you check the project field configuration scheme and set the field Project optional? Since this field cannot be empty, there is no need to make it required.

If it doesn't help, I'd recommend you to contact the Atlassian support: <https://support.atlassian.com/contact/>


author: ?????
body: [@Kseniia Trushnikova](/t5/user/viewprofilepage/user-id/4593830)   
I can't find this field in the field configuration diagram.... He's not there.


author: Kseniia Trushnikova
body: [@?????](/t5/user/viewprofilepage/user-id/4558248), sorry, that's my bad. It looks like that is me who has the custom field named Project here. Please ignore my comment above.

![giphy](https://community.atlassian.com/t5/image/serverpage/image-id/272468iA01F48C340A445D4/image-size/large?v=v2&px=999 "giphy")

I'd try to recreate an application link between Jira and Confluence and then still I'd recommend you to contact the Atlassian support. Your issue looks tricky.


author: ?????
body: [@Kseniia Trushnikova](/t5/user/viewprofilepage/user-id/4593830)   
Good. Thank you for your help!