youngmon/atlassian-qna huggingface dataset:
Which permission on jira 8.3 i need to request with scrum master role
Asked by hoang hieu:

++i dont have permission to "add status" in new column like blocking column and cant find add status button.++

++issue 2 : which permission about scrum master i need to request because i dont have permission create sprint then admin request me to provide list request but i dont know which one++


Answers:
author: Trudy Claspill
body: Hello [@hoang hieu](/t5/user/viewprofilepage/user-id/5528147)

Welcome to the Atlassian community.

You mentioned in the title that you are using Jira 8.3, but your post tags say Jira Cloud. Jira Cloud is a software-as-a-service product. As such, it does not have a version. If you have confirmed you are using version 8.3 then you are using self-hosted Jira Data Center.

Adding a status can be done by a Project and Board administrator only when the project is using the Simplified Workflow. With a simplified workflow issues must be able to transition from any status to any status with no Conditions, Validators, or Post Functions.

If that is not the case for you, then you will need to contact a Jira Administrator for your system to ask them to add the Status that you want.

You can refer to the following document for details about which permissions you need.

<https://bitbucket.org/atlassian/jira_docs/downloads/JIRASOFTWARESERVER_8.3.pdf>

To be able to create sprints in a Scrum board you must have the Create Sprint permission in all projects referenced explicitly or implicitly by the board filter. If you want to take other actions with sprints, like start them, complete them, reorder them, edit them, delete them, and move issues in and out of them, you will require additional permissions which are detailed in the above document.


Tags: jira-service-desk-cloud

jira-service-management

jira-service-management-cloud
how to add attachments to xray "Test Execution"'s page attachements section using rest api
Asked by Simply Manas:

how to add attachments to xray "Test Execution"'s page attachements section using rest api

Can someone provide rest api how to do that? I have attached screenshot where i am actually looking for ![xray_attach.JPG](/t5/image/serverpage/image-id/103786i491EF6B04E59CF54/image-size/large?v=v2&px=999 "xray_attach.JPG")


Answers:
author: Sergio Freire - Xblend
body: Hi [@Simply Manas](/t5/user/viewprofilepage/user-id/4020860) ,

maybe this postman collection can help you out :)

<https://github.com/Xray-App/xray-postman-collections>

Please have a look at it.

Regards

Sergio


Tags: xray
Copying Values from Parent to linked children
Asked by Nannette Mori:

We have version Power Scripts 4.8.0.6 I used the example they have online

`/*``Call this script from a workflow transition post-function.``It will set the fields to the value of the matching field in the parent issue.``*/` `if(isNotNull(parent)) {`` ` ` ``summary = %parent%.summary;`` ``description = %parent%.description;`` ``dueDate = %parent%.dueDate;``}`

`However this does not work for me, I keep getting an error (the check fails)`

`Is there a way you can see what the error is? I added the post function to the linked Issue...is that correct?`


Answers:
author: Alexey Matveev
body: Hello [@Nannette Mori](/t5/user/viewprofilepage/user-id/3853465) ,

I tried your code it worked fine in my Jira instance.

If the check fails, there is a red cross on the line. If you hover on the red cross, you will have a detailed message of the error.

Could you paste a screenshot with the error?

comments: author: Nannette Mori
body: I can't use the standard Post - Function "Copy Value from other Field because the parameters don't work because the parameters available don't work for our customized Hierarchy,

When I click on Check next to the Check button it says 1 error found but there is no red cross on the line. There is no detailed message of the error.


author: Nannette Mori
body: I did find this error in the Console

SIL Pogram \>\>null\<\<parse exception:lexical error at line at line 8,column 6 encounted:\<EOF\>after:""

Our power Script version is 4.8.0.6

Jira Software Version is 8.6.1


author: Alexey Matveev
body: If you run it in console, you need to provide the issue key in the Run Configuration dialog screen:

![Screenshot 2020-07-22 at 16.34.36.png](https://community.atlassian.com/t5/image/serverpage/image-id/103947i542DEA3A506E0BAC/image-size/large?v=v2&px=999 "Screenshot 2020-07-22 at 16.34.36.png")


author: Curt Holley
body: Can't you just use the standard Post - Function "Copy Value From Other Field" for this? (no code required)

You could also use Automation for Jira to do it (if on Cloud) again (no code required).....not sure about Power Scripts, as I've never used it.
Issue commented for just Jira Services Desk
Asked by JAVA:

I want to apply a rule based in a new comment in Jira Services Desk that will be copied to related issue in a Kanban at Jira Software. However, the rule is including also new comments between Jira Software/Jira Software.

We have a limitation of 1000 action automation per month due to our plan. So, I would like to reduce the interaction for this rule but there is no way to configure the tigger.


Answers:
author: Elad Ben-Noam
body: Hi [@JAVA](/t5/user/viewprofilepage/user-id/3936021) ,

On the "rule details" inside your rule - you can select if the rule is "global" for all projects or only for a specific project.

Change the rule to run only on your Service Desk project and you're done :)

I hope it helps. :)

Elad.
Atlassian - Jira to Confluence integration question
Asked by Um Vas:

I would like to automate the process where creation of a Jira task with a given label say "Design" would create a new wiki template page say "Solution Design document template" for a given space "Architecture". Not sure if there is something (macro) already available or someone has done something similar before.

I did find the following link below where its mostly talking about displaying Jira issues/reports in confluence pages using macros and how to create jira issues from confluence but doesn't talk about other way around from jira to confluence page.

<https://confluence.atlassian.com/doc/use-jira-applications-and-confluence-together-427623543.html#UseJiraapplicationsandConfluencetogether-MovebetweenJiraandConfluence>

Any help would be appreciated.

Thanks!


Answers:
author: Tom Williams
body: Hey [@Um Vas](/t5/user/viewprofilepage/user-id/4019785)

I asked a similar question not so long ago...this was Atlassian's response.

"Not at the moment. We will look into this in the future but we don't have a roadmap or timelines at this stage.

We have a public ticket tracking this: <https://codebarrel.atlassian.net/browse/AUT-269>"

Q:

<https://community.atlassian.com/t5/Automation-questions/Is-there-a-way-to-update-a-confluence-page-using-Jira-Automation/qaq-p/1434816#M168>


author: Hendrik Winter
body: Hi [@Um Vas](/t5/user/viewprofilepage/user-id/4019785) ,

One way to connect Jira Automation with Confluence is to use the plugin [mailto.wiki - Send Emails to Confluence](https://marketplace.atlassian.com/apps/1223249/mailto-wiki-send-emails-to-confluence?hosting=cloud&tab=overview). Jira Automation can send emails as action and mailto.wiki can convert emails into Confluence pages/posts. This allows you to automatically create confluence pages when you create Jira issues with the label "Design". However, it is currently only possible to create pages with the default template.   

If you are interested in this solution I have published a detailed blog post on this topic here:

[Create Confluence Pages/Posts with Jira Automation](https://mailto.wiki/connect-confluence-jira-automation/)

Cheers

Hendrik


author: Agnieszka Cichocka
body: There is a new app on the Marketplace - ACI (Advanced Confluence Integration for Jira). It seems like it can do exactly what you want. [https://marketplace.atlassian.com/apps/1224763/coji-confluence-pages-for-jira?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1224763/coji-confluence-pages-for-jira?hosting=cloud&tab=overview)


Tags: conflict

jira
My Jira automation rule is not sending updates to Microsoft Teams
Asked by Arpita Dasgupta:

I have create a automation rule to send updates to my Microsoft Team's team (specific channel) using webhook whenever a sprint is closed/started. The rule is giving me an error:

![automation-webhook-error.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/103310i395FE31BEC7C13B6/image-size/large?v=v2&px=999 "automation-webhook-error.JPG")


Answers:
author: Sam Harding
body: Hi,

It seems like there is perhaps some configuration issue with the way the incoming webhook is set up on the MS Teams side. That error message 'null or empty eventType' is the response your webhook request receives when trying to communicate with MS Teams.

I see there have been some similar issues raised in these community posts:

<https://community.atlassian.com/t5/Bitbucket-questions/Jira-Automation-Microsoft-Teams-Message-with-Error-400/qaq-p/1341087>

<https://community.atlassian.com/t5/Jira-questions/Microsoft-teams-webhook-client-error-400/qaq-p/1006324>

It seems some people had success by changing the MS Teams connector, or by changing the webhook url they were using to send their data. Can you give these solutions a try and see if they work for you?

Thanks


Tags: ms-teams
"Disabled third party extension for Automation for Jira" - Profield Triggers
Asked by Abdul:

When I try to use any of profields triggers in Jira automation I get the following message

--------------------------------

Disabled third party extension for Automation for Jira? {#toc-hId--1327651443}
------------------------------------------------------------------------------

This rule component was provided by a third party extension for Automation for Jira. It appears this app is no longer installed or enabled. Please check the 'Manage apps' section in global administration.

If the app is enabled, then this could be caused by errors in the Atlassian Plugin system not picking up app dependencies correctly. Please try the following troubleshooting steps:

1. Disable, then re-enable the third party app in 'Manage apps'
2. If this doesn't resolve the issue, then disable and re-enable Automation for Jira
3. Finally, try restarting your Jira instance

If none of the above helps, please [contact us in support](https://automationforjira.com/contact-us).

---------------------------------

I tried all three steps listed and still i cannot get it to work, I also checked all modules (in case any is disabled) and all are enabled.

Any idea how to solve this?


Answers:
author: Leo Diaz DEISER
body: Hi [@Abdul](/t5/user/viewprofilepage/user-id/2615371)

I'm the Product Manager of Profields at DEISER. If you are experiencing problems with the integration of Profields and Automation try to uninstall Profields and install again, after this it should work.

Please do not hesitate to contact us if you have any problems, we will be happy to help!

<https://jira.deiser.com/servicedesk/customer/portal/1>

Leo

comments: author: Abdul
body: [@Leo Diaz DEISER](/t5/user/viewprofilepage/user-id/676195) I already tried doing so and still automation plug in is not picking it up.


author: Leo Diaz DEISER
body: [@Abdul](/t5/user/viewprofilepage/user-id/2615371) could you send us the Jira logs?

You can use our[service desk](https://jira.deiser.com/servicedesk/customer/portal/1)for this.


author: Abdul
body: I will do that.. Thanks


author: Abdul
body: [@Sachin](/t5/user/viewprofilepage/user-id/3827093) I do have Profields installed and active. I thought i hinted toward this by stating that i did all what is mentioned in the troubleshooting procedure.

comments: author: Sachin
body: Thanks for confirming that Abdul. So, if you reinstalled both the plugins (Automation for jira, Profields - Jira project tracking) and restarted your instance and still seeing the issue, then I would just reach out to Automation for Jira [support](https://support.atlassian.com/contact/) team and ask for help.


author: Sachin
body: Hello [@Abdul](/t5/user/viewprofilepage/user-id/2615371) , you need [Profields - Jira Project Tracking](https://marketplace.atlassian.com/apps/1210816/profields-jira-project-tracking?hosting=server&tab=overview) installed on your instance to use the **3 Profields triggers** . See [The integration of Profields and Automation for Jira](https://confluence.deiser.com/profields/latest/third-party-integrations-with-profields/automation-for-jira)


Tags: projectrak
Separate Activity tab for Automation changes
Asked by Hunter1428:

Hey,

Is it possible for Jira Automation issue changes to be put into a different Activity tab instead of the "History" tab.

Our Automation uses a bot, so maybe it's possible to separate this based on the trigger user?

Thanks


Answers:
author: sreuter
body: Hey there,

unfortunately this is not possible today, and also is not on our roadmap at the moment. We'll flag this as a possible improvement in our customer feedback backlog tho.

Cheers,

Sascha

comments: author: Hunter1428
body: Perfect, this would be really useful to reduce noise in the history.

Thanks!
Custom fields in lookupIssues
Asked by Nuraini Aguse:

I'm building an automation rule that performs a JQL query based on a schedule and sends a Slack message using the result of the query. At the moment, I am using the lookup issues action to perform the JQL query.

However, based on the lookup issues description here <https://support.atlassian.com/jira-software-cloud/docs/automation-actions/>, it seems like we are not able to access custom fields?

I have tried

    {{#lookupIssues}} {{Custom Field}} {{/}}

(including other variants as suggested by other users such as using "Custom Field", customfield_id, field.Custom Field, etc) to no avail.

On the other hand, when I checked the "Run a JQL search and execute actions for each issue in the query." checkbox in the schedule trigger and perform the JQL query there,

    {{issue.Custom Field}}

works as expected. But the problem now is a Slack message would be sent for each issue.

This is not ideal because I want to format my Slack message as follows:
> Some text here:
>
> `{{#lookupIssues}} {{Custom Field}} {{/}}`
>
> some more text here

which would not be possible if one Slack message is sent per issue. Is there an alternative that can solve this?


Answers:
author: Italo Qualisoni [e-Core]
body: Hi [@Nuraini Aguse](/t5/user/viewprofilepage/user-id/4011160) ,

I'm new to this lookup feature, but it seems that custom field are not available in the lookup action indeed.

What you can do is lookup issue searching by your condition eg:

JQL : customfield = A and status = Open

and your action will have all issue with that customfield A , not ideal but still possible to aggregate the information.

I'm afraid i didn't help you with your question, let's see if someone from Automation team can answer it :)

Also I'm sharing this great document that describe Slack integration, maybe it can be helpful for you:

<https://community.atlassian.com/t5/Automation-articles/Send-a-list-of-issues-in-Slack-with-Jira-automation-s-newest/ba-p/1411819>

comments: author: Nuraini Aguse
body: Thank you for your response. Unfortunately the Custom Field can have multiple possibilities and it's impossible to enumerate all of them.

Would love to have the ability to access the Custom Field from lookupIssues because there's so many use cases for it :)


author: Dave Sausville
body: > Would love to have the ability to access the Custom Field from lookupIssues because there's so many use cases for it :)

Big +1


author: Jonathan Aspeling
body: Same +1 :D


author: Krister Broman _Advania_
body: For Reference to others that are looking for this information

Adding custom fields to Lookupissues does now work for cloud, communicated here:

<https://community.atlassian.com/t5/Automation-articles/New-lookup-issues-fields/ba-p/1873978>

comments: author: Yash Sheetal Bhandarkar
body: Hello Krister,

What are the limitations in the Jira Data Center \& its custom fields?

What type of Custom Fields do the lookup issues work to get the data of those custom fields displayed through email notification?

Can you please help me with this?

Regards,

Yash
I want to create an automation based on the time a task has been in certain column
Asked by Jorge:

Hi,

I want to send a message to the channel once a task has been in a column for more than 3 days. I know there is a field called \[Chart\] Time In Status that is displayed in the card, but how can I access that field to make a comparison in my condition?

The condition I want is if \[Chart\]Time in Status \> 3

Then send message to slack and message to assignee.

Thank you for the help

Jorge


Answers:
author: Holger R?sch
body: Hi Jorge,

in jql you can check whether a status has changed.

For your case you probably want something like this:

```
project = "your project"

AND NOT status CHANGED AFTER startOfDay(-3d)

AND created < startOfDay(-3d)
```

That gives you all issues which were not moved to another status within the last 3 days. You also need to exclude all issues that were created during the last three days since they haven't moved either.

Hope this helps.

Cheers,

Holger
Custom Field id not working in Smart Values
Asked by Hunter1428:

Hey all,

I am updating our email templates with field id's instead of the field name. But for some reason when I use the id, I get no results?

Looking around the forums and documentation I find some conflicting info and neither work.

The documentation here - <https://support.atlassian.com/jira-software-cloud/docs/smart-values-general/>

Says use: which neither actually work for me.

* {{issue.CustomField.id}}
* {{issue.CustomField.name}}

This is slightly confusing as I have been using, which I have never had a problem with.

* {{issue.fields.CustomField}}

And after looking at this thread - <https://community.atlassian.com/t5/Jira-Questions/Can-t-access-Custom-Field-value-in-Jira-Automation/qaq-p/730676>

* {{issue.fields."paste your field name here".value}}

I tried this and still nothing...

Any ideas?


Answers:
author: sreuter
body: [@Hunter1428](/t5/user/viewprofilepage/user-id/3767067) To get the value of your field by id you can use this smart value: {{issue.fields.customfield_10040}} ..

Let me know how it goes! :)

comments: author: Hunter1428
body: This worked great, I feel silly for not just adding the id number at then end of {{issue.fields.CustomField}} haha

Thanks!


author: andy_deighton
body: Does this work with fields that have been added to a team-managed project's issue types? Team-managed works slightly differently in that you can add field templates to an issue using the Issue Types page. When I try using smart values like {{issue.fields.customfield_11308.value}} in my automation rules, it always returns nothing, for issues in my team-managed instance.

Heeelp!!


author: Gursimran Singh
body: I am using something similar,   
I have a user picker field, and I am using

{{issue.Approvers}} - This gives me user id in return.  
{{issue.Approvers.displayName}} - this returns me the Name of the person.  

What should I use to get the email instead ? Any ideas  


author: Dave F
body: Try {{issue.Approvers.emailAddress}}


author: M?d?ric Lefebvre
body: Hi everyone, where do you find the IDs of your custom fields ? Is it necessary to be an administrator ?

Thanks.

comments: author: Hunter1428
body: Hey!

If you search the filter name in the JQL box, it will say the name and the ID :)


author: Andreas Safar
body: Go to Settings -\> Issues -\> Custom Fields -\> Search for your field -\> Click on ... (3 dots) -\> then click on Edit Details

On this custom fields screen you will find the id within the URL (something like atlassian.net/...EditCustomField!default.jspa?id=10065)


author: Marc Isikoff
body: Or run a JQL query and choose your custom fields as a column; run the query then sort by your custom field and it will show the custom field #.


author: Leonel Goitia
body: You can list all your custom fields with this <https://youworkspace.atlassian.net/rest/api/3/field>


author: Mackowiak
body: Hi,

The following works fine to set security based on a custom field value

{  
"update": {"security": \[{"set": {"name": "{{issue.customfield_10054}}"}}\]}  
}

Guillaume.


Tags: addon-com.codebarrel.addons.automation
Post function Copy Value from other field not working
Asked by Nannette Mori:

I added a post function to copy a value to another field within the same Issue. I have a validator which requires the field at the transition "Prioritization" but I also added the Copy value from field to another field at the same transition. Which means the field is requiring a value at Prioritization and also asking that value to be copied to another field at the same transition. Do I need to add the post function to copy a value to another field at another transition then the transition I am requiring the field to be populated with a value?

Also I saw some documentation that there is a post function "Copy field value from Parent". I do not have that post function in my post function list. What version of JSU is that in - what is the Jira Misc workflow extensions?


Answers:
author: David Fischer
body: JMWE ([https://marketplace.atlassian.com/apps/292/jira-misc-workflow-extensions-jmwe?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/292/jira-misc-workflow-extensions-jmwe?hosting=cloud&tab=overview)) indeed offers the "Copy field value from parent issue" post function.

As for your other question, I'm not sure I understand it. Post functions and Validators are independent, and Validators run before post functions.