Comments
-
@Administrateur Hawaii the code below I have added to test.sh file and excuted, and it worked for me, please check. #!/bin/bash curl --request POST \ --url 'https://<SITE>.atlassian.net/rest/api/3/project' \ --user '<EMAIL>:<TOKEN>' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data…
-
oh! it is simple error, replace all your 'http' instance with 'https', Jira Cloud doesn't work on http, it only work on https, and hence the error.
-
@Administrateur Hawaii Can you please elaborate on the error you are getting?
-
@Administrateur HawaiiFirst of all, welcome to the community! Service Desk project are special kind of Jira Projects, so you can create Service Desk project using Jira's REST API by passing appropriate options, which all are explained in below API documentation link. Please take a look at this -…
-
Oh! I was talking about both self-managed Confluence and Postgres (i.e. option C). But I think for 10 user instance option B is the best. It will keep your cost down, and with scheduled backup of DB and Confluence Home, you can avoid almost all unforeseen situations. You can learn about recommended backup practices here -…
-
This is just a personal preference, and policies that are imposed by your organization. * My thumb rule is, "How often service updates database?" * So, if I see database updates are very often like once per 20 minutes (during peak) I will go with separate machine. * I do this so that I can update database server and…
-
@Naveen Kumar D P Below worked for me while using Jira Issue Macro, curl --request PUT \ --url 'https://<SITE>.atlassian.net/wiki/rest/api/content/<PAGE_ID>' \ --user '<EMAIL>:<TOKEN>' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --data '{ "id":"<PAGE_ID>", "type":"page",…
-
@Antoine Berry First of all it is not a great idea to run Jira/Confluence itself on 443 (public https port). It is huge security risk. Best way it to use reverse proxy server like Apache HTTPD or Nginx. But, still if you want to proceed with this, you will need to run them as ROOT user as only root have needed access…
-
Let me give it a trial.
-
@Naveen Kumar D P I was able to add history macro to page this way, you can replace this with other kind of macro. curl --request PUT \ --url 'https://<SITE>.atlassian.net/wiki/rest/api/content/<PAGE_ID>' \ --user '<EMAIL>:<TOKEN>' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --data…
-
@Naveen Kumar D P Can you please validate if this curl works for you? curl -u '<EMAIL>:<TOKEN>' -X PUT -H 'Content-Type: application/json' -d'{"id":"<PAGE_ID>","type":"page","title":"Sample Page","space":{"key":"<SPACE_KEY_OF_PAGE>"},"body":{"storage":{"value":"<p>This is the updated text for the new…
-
@admin admin You are welcome.
-
@Naveen Kumar D P Can you please elaborate on error you are getting?
-
@admin admin Can you please check, what does below line prints, $ echo $JAVA_HOME If it prints noting, I think you need to set $JAVA_HOME manually in /etc/environment something like this, PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/atlassian/jira/jre/bin"…
-
Well said @Kat Warner
-
@Ngoc_Bui First of all welcome to the community, hopefully you will enjoy it. Now coming to your question, I give you an insight what I do, * I don't keep 'plugin-cache' in my backup * 'plugin-cache' will automatically regenerate when you start you confluence, or install plugins, so you don't need to worry about this. So,…
-
I have somewhat different opinion, you need to be internally motivated and externally motivating. What I mean here is, always believe in what you are doing, and if you want someone to help you and do something for you, don't push them, just tap on their back and say some encouraging words. Things will be much easier this…
-
$ch = curl_init();curl_setopt_array($ch, array( CURLOPT_URL => JIRA_URL . '/rest/api/2/user?username=' . $USER, CURLOPT_USERPWD => $USERNAME . ':' . $PASSWORD, CURLOPT_HTTPHEADER => array('Content-type: application/json'), CURLOPT_RETURNTRANSFER => true)); $result = curl_exec($ch);curl_close($ch);echo json_decode($result);…
-
@Hitesh_Goenka Yes you can do that. Please take a look at this help page by Atlassian and get back if you face difficulty - https://confluence.atlassian.com/jirasoftwarecloud/migrate-between-next-gen-and-classic-projects-957974933.html
-
@Bernd Steffens I have found some time and update code for your need. Please take look at same shared repository now, especially these files, * https://bitbucket.org/jangidd/sample-confluence-plugin/src/master/src/main/java/com/example/confluence/plugins/macro/DynamicSearchMacro.java *…
-
@Bernd Steffens Yes you can configure Macro to take input on user screen and not on Macro configuration screen. For this, * You need to return simple html form (with input field) as macro response. * After this, you need to add some Javascript and Rest API, to handle submission of form and display results. You first give…
-
@Rosemol Joe You can do that only with confluence pages currently. But as workaround you can use description field.
-
@mihai onoprienco Welcome to the community! I am afraid that you cannot download directory using 'CURL'. But you can always create a script to download all content of directory. Take a look at this gist - https://gist.github.com/christophermanning/1474925 (I have not validate, but code seems to accurate)
-
@Rosemol Joe Yes you can link issues in Next-Gen Projects. Here is screenshot of toolbar,
-
@Hitesh_GoenkaRequired field are currently not part of next-gen projects, but it is coming soon. Also, make a comment to this issue - https://jira.atlassian.com/browse/JSWCLOUD-17631 Take a look at this roadmap by Atlassian - https://www.atlassian.com/software/jira/whats-new/next-gen
-
Take a look at this sample code I have managed to create for you. https://bitbucket.org/jangidd/sample-confluence-plugin/src/master/
-
You can proceed something like this, In atlassian-plugin.xml file create a macro definition these lines, <xhtml-macro key="search-macro" name="Search Macro" class="com.example.plugins.macro.SearchMacro" icon="/download/resources/icons/search.png" > <category name="visuals"/> <parameters> <parameter name="search"…
-
@Bernd Steffens Welcome to the community!!! I can give you brief idea about how to step further, There are couple of scenario, Static search result macro, * In this macro you will get search term in macro input while creating macro * and in result you will display results * For this kind of macro,* Get started with custom…
-
@sabina_balanescuWelcome to the community! You have not provided enough information required to properly answer this question. But here is some information that might help (based on provided information). First and foremost, yes, you can create plugins in Confluence (for both Server and Cloud version) Secondly, to…
-
Take a look at REST API's here - https://developer.atlassian.com/cloud/confluence/rest/#status-code Each API have sample using multiple language including 'JAVA'. For authentication with API take a look at this - https://developer.atlassian.com/cloud/confluence/rest-api-examples/