Discussions
-
How I can update the confluence users email addresses in bulk?
Hi One of our use case, We need to update the all confluence users email addresses. I was trying to implement it through script, but somehow its not working. I was tried with UserAccessor & PersonalInformationManager services and its failing. com.atlassian.user.User usr =…
-
JIRA field value over the confluence page along with style & formatting
Hi, One of our customer requirement is to update the JIRA issue description value over the confluence page. To get it done I implemented following solution with help of #ScriptRunner plugin. * Created Listener at JIRA end on issue update. * Created RestEnd point at confluence end to serve the request. * On issue update…
-
How to create multiselect dropdown in confluence user macro?
Hi Guys, I'm trying to create user macro with multiselect params, but it rendering string input box. Please help, where I am wrong. adding params similar like this ## @param Region:title=Region|type=enum|enumValues=India,Global,North America,Noida,Bangalore, India|default=India|multiple=true|desc=Choose your region
-
How to fetch content property in cql?
Hi, I am trying to create content property for storing some value on page creation. I'm able to create it but not able to use it into cql functionality. I'm referring this blog.:https://blog.developer.atlassian.com/confluence-5-7-apis/ I have added following indexed schema in plugin.xml <content-property-index-schema…
-
How to create a page properties macro from user macro?
Hi, I want to create user macro which create the page properties macro with all property value and custom body. I have inserted page property macro storage format code in user macro.So when I insert user macro on page automaticaly page property macro will be create with all data. ## Macro title: My Macro ## Macro has a…
-
URL with the query param does not working as expected in scriptrunner endpoint.
Hi Guys, I am communicating with the Agile Central through scriprunner endpoind. I am trying to fetch the list of releases with the project. So I have added query param in url like query = "project=XYZ". Complete url will be :…
-
How to link multiple issues to new one while creation using bobswift jira cli?
Hi, I am trying to link the issues to new one while creation. I am able to able to link single issue but not multiple. I tried with following code. let me know, Where I am wrong. * CLI action JQL query: project = "GGS" AND "Email address" ~ "%original_Email address%" Product: Jira Action: --action run --server…
-
How to fetch comments from pull-requests?
As mention in bibucket server REST api documentation link. I am trying to fetch the comments. (/rest/api/1.0/projects/OTP/repos/otplanner/pull-requests/20/comments?ANCHORSTATE="ALL"&DIFFTYPE="EFFECTIVE") It gives me below error { "errors": [ { "context": null, "message": "The path query parameter is required when…
-
Unable to to create request because of theses errors : Field with id 'customfield_10009' named 'Coun
Hi I am creating customer request form using jsd experimental APIS. I get the all form fields using RequestTypeFieldService. And used ServiceDeskCustomerRequestService while submitting the customer request. I am facing problem while form contain select field. I am unable to set custom field value which is select field.…
-
How to calculate sla for jira issue?
Hi. Firstly, I am new in Jira Service Desk development, so any mistake in question please forgive me. I am trying to calculate sla value in date format, currently it in hour format. I have used following approach. 1) fetching sla value using jsd rest api but it give me in hour:min format.So is there any way to fetch it…
-
How to get jira issue calendar using jira java api?
Hi. I want to fetch issue calendar using jira java api not using the rest api. Is there any atlassian java class available for that. Also, How i can calculate sla? what is formula for that? I need sla in date format not in the hour. Thanks in advance.