youngmon/atlassian-qna huggingface dataset:
Create a Conditional Due Date
Asked by Val Gendleman:

Hello! I'm creating a recurring task issue via automation. I want to set a due date of Sept. 13 every other year, unless the 13th is a weekend, in which case I'd want the due date to fall on the previous business day.

Thanks in advance for your help!

Val


Answers:
author: Bill Sheboy
body: Hi [@Val Gendleman](/t5/user/viewprofilepage/user-id/5568549)

Without seeing the specifics of your rule...you could check if the date is on a weekend using the format() function, and if so make an adjustment using the toBusinessDayBackwards function:

<https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/#Date-format--->

<https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/#Previous-business-day--->

Kind regards,  
Bill

comments: author: Val Gendleman
body: Thank you, [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313) . This is really helpful. I'm just getting started using smart values and am wading through. I'll let you know how it turns out.

Best,

Val


author: Val Gendleman
body: Thanks again, [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313) -- you set me on the right track and I got the automation to work! I had an ongoing fixed due date of Sept 13, except when that date falls on weekends. I made the due date Sep 14 and used the BusinessDayBackwards function to ensure that the new task always appears on a business day.


Tags: cloud

jira-cloud
How can I compare 2 dates to take an actions in Jira automation
Asked by Leyla Kinaze:

Hi,   

I'm doing an automation related to the addition of a sprint to a story.  
The automation is Target Start and Target End based on the sprint start and end dates.  
This is working fine.

<br />

There is however an exception case that I want to handle.   
If the sprint is changed to an earlier sprint then the one that was planned for the story.  

I would like to do a date comparison between the current TARGET START of the issue and the new sprint start date and only update the TARGET START if the TARGET START date is greater then the new sprint start date.

This is what I'm using but I don't think I have the right format. Is there somewhere that I can refer to, in order to find information how to properly do the compare condition? I tried other compare condition without success as well... and could not find the format to use...  

**{} ADVANCED COMPARE CONDITION**   
**First value:**   
{{issue.targetstart.jiradate}}  
**Condition**   
greater than  
**Second value:**{{issue.sprint.last.startDate.jiraDate}}


Answers:
author: Bill Sheboy
body: Hi [@Leyla Kinaze](/t5/user/viewprofilepage/user-id/5103234)

First thing, I recommend confirming that is the correct smart value for the Target Start field, either by writing it to the audit log or using this how-to article: <https://confluence.atlassian.com/automation/find-the-smart-value-for-a-field-993924665.html>

Next, is the "new sprint" start date always expected to be the latest one for any sprints in the field? If so, I recommend changing that second value in the condition to this:

```
{{issue.sprint.startDate.max.jiraDate}}
```

If those ideas do not help, please post an image of your complete automation rule and of the audit log details showing the rule execution. Those may provide context to help explain what is happening. Thanks!

Kind regards,  
Bill

comments: author: Leyla Kinaze
body: Hi [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313) ,  

thanks a lot for your fast answer. It took me a couple of trial and errors to get it working but your feedback helped me a lot to make it work.  

thank you!


Tags: data-center

jira-data-center
Jira Work Management file Import CSV Permissions
Asked by Clement Tshivhase:

Hi Atlassian Community.  

For Jira Work Management, is there a way to grant a person with the "administrator" role Import Permission for a respective project so that they may be able to bulk-create issues using a format like .csv? just like how a Site-admin can do bulk imports on JSM.  

I have a user who is an administrator of a project he created but he can't import issues into his own JWM project because of permissions, the action seems to require global Jira permissions and so I thought of asking the community here if there's a way around this. I've explored several alternatives and advices to no avail, hence I am here.  

NB: this question is strictly related to Jira Work Management, not Jira Software Or Jira Service Management.


Answers:
author: John Funk
body: HI Clement,

The ability to import issues is not based on project type. You can either import across the site or not.

comments: author: Clement Tshivhase
body: Thanks for the response John.


Tags: cloud

jira-work-management-cloud
How do I fix 'Could not find create meta data for project/type Id 10028/10068' automation error
Asked by Kevin Shaw:

In Project A: I'm trying to run automation rule 'when: issue transitioned to X' 'then: Create a new same issue type as trigger in Project B'. this fails, and I get 'Some Errors' report in the error log - the detail of which is in the question. Do I need to be a JIRA admin to send issues across projects...? Cheers


Answers:
author: Trudy Claspill
body: Hello [@Kevin Shaw](/t5/user/viewprofilepage/user-id/5106113)

Welcome to the Atlassian community!

Whenever asking for help with an automation rule that is not working there are a few things that you need to provide:

1. Provide the details of your rule. A screen image of the rule is very helpful.

2. If the rule is triggered and something is not working the way you expect, provide us with a copy of the Audit Log for that execution of the rule.

What are the types of the source and destination projects? Are the Company Managed or Team Managed? Are they Service, Software, or Business/Work Management projects?

What is specified for the Actor of the rule?

Does Project B include an issue type that is the same as the issue type of the issue from Project A that triggered the rule?

Does the Actor of the rule have permissions to create issues in Project B?


Tags: cloud
Permission issue when connecting a team managed project to slack
Asked by Benjamin Teng Lin:

Hi all!

I am having trouble getting a project connected to a channel in Slack. It works fine when it is a company managed project but I need it to work with team managed projects. When I try to connect through Slack, this is the message I get:

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

Then when looking at the troubleshooting page this is what it shows:

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

But in my understanding the Permission Schemes only apply to company managed projects right? In team managed projects all I have to do to give slack access is to add Atlassian-addons-project-access as admin in the Access tab inside project configuration right?

any help will be very appreciated,

Thanks!


Answers:
author: Ste Wright
body: Hi [@Benjamin Teng Lin](/t5/user/viewprofilepage/user-id/5106416)

I couldn't find a resolution to this, or replicate it.

There's a link in the yellow box to contact support - I'd recommend you do this as the best next step.

Let us know what they respond with!

Ste
How do I create a project?
Asked by Troels Sebelin:

How do I create a project? I would expect to be able to do it under Project but I can't. See pic. Also tried other modules.

![Sk?rmbillede 2022-12-20 kl. 14.52.37.png](/t5/image/serverpage/image-id/231387i408D9BC86A2B1830/image-size/large?v=v2&px=999 "Sk?rmbillede 2022-12-20 kl. 14.52.37.png")


Answers:
author: Garrett McCreery
body: [@Troels Sebelin](/t5/user/viewprofilepage/user-id/5105526) Welcome to the community.

If you have the permission to create a project, you would see a button in the upper right-hand corner of the screen. You will need to ask your admin if you can have permission to create a project.

Hope this helps.


Tags: cloud

jira-work-management-cloud
Automation to create and link issue
Asked by Yasmine:

Hi everyone,

I'm working on an automation for my team and im hitting a couple walls for it.

What i need:   
When issue is transitioned to x and issue type is x, then create issue and copy x, y, z fields from current issue, AND link issue to trigger issue.

Most of the automation is working fine but 2 areas are failing:  
One of the fields im asking it to copy is a short text field, and it's failing (although the other short text field is copying)  
The action to link issue to the triggered issue is also failing entirely. ![Screenshot 2022-12-20 133026.png](/t5/image/serverpage/image-id/231446iA5FBD4D09C8C314A/image-size/large?v=v2&px=999 "Screenshot 2022-12-20 133026.png")


Answers:
author: John Funk
body: Hi Yasmine,

Can you please share the full rule that you have AND share the audit log that shows the errors?

comments: author: Yasmine
body: Hi John,

Please see below, and thanks in advance.

![Screenshot 2022-12-21 141003.png](https://community.atlassian.com/t5/image/serverpage/image-id/231668iDF7FB1DFFA7EAD12/image-size/large?v=v2&px=999 "Screenshot 2022-12-21 141003.png")![Screenshot 2022-12-21 140950.png](https://community.atlassian.com/t5/image/serverpage/image-id/231667i38300407D5D24FB7/image-size/large?v=v2&px=999 "Screenshot 2022-12-21 140950.png")![Screenshot 2022-12-21 140840.png](https://community.atlassian.com/t5/image/serverpage/image-id/231666i78B6032BEB32EB08/image-size/large?v=v2&px=999 "Screenshot 2022-12-21 140840.png")


author: John Funk
body: A couple of things. It looks like you have more than one field called Facility - you should fix that so there are not duplicates there. Check the Custom Fields under Issues to see if there are two.

Second, I would add a branch after you do the Create. Make the branch for Most recently created issue.

Then move the Assign the issue to action and the Link Issue to action under the new branch.


author: Yasmine
body: Hi John!   
Adding the branch worked! Thank you so much.

I'm still having trouble with the 'Facility' field, I double checked that we don't have duplicates of it and we don't. It's not a huge deal, since the trigger issue will be linked, but maybe I will reach out to Atlassian and see if there is something that I am missing.


author: John Funk
body: Great! For the Facility field, you might have a Team-managed project that has that same field name. Are you narrowing down the rule to only one project? Or multiple projects?


author: Yasmine
body: It is a team-managed project, and the rule is only specific to this project!


author: John Funk
body: That's very strange indeed then. You should definitely reach out to them. And please post back here with whatever the resolution was for future readers.


author: Yasmine
body: Absolutely. Thank you for your help John!


Tags: cloud
can't create new account "This site has already taken"
Asked by Ahmet Kuran:

Hi,

This is my first try to create an Atlassian site but I can't. when I write "otokontrol" for mysite place, I will get error like "otokontrol.atlassian.net" This site has already taken.

but I'm pretty sure this site name is not taken. Because I tried many variations and always got the same error.

Thank you in advance for the answer.

Ahmet

![jira 2022-12-19 08.29.35.png](https://community.atlassian.com/t5/image/serverpage/image-id/231069i831031AD2BB0C1EB/image-size/large?v=v2&px=999 "jira 2022-12-19 08.29.35.png")


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Ahmet Kuran](/t5/user/viewprofilepage/user-id/5104149) and welcome,

my suggestion is to contact the support team via <https://support.atlassian.com/contact/> ? They can enable the site for you.

Fabio


author: Ste Wright
body: Hi [@Ahmet Kuran](/t5/user/viewprofilepage/user-id/5104149)

Have you tried doing this on another browser, or on incognito mode?

It could be a cache issue or similar.

Ste
Automation with sub-task
Asked by Jakub Szyma?ski:

Hello Community.

I have a easy question for You I think :)

I want to set automation rule:  
"When all sub-task's are transitioned to "done" status, send email to assignee."

I want to make issue (which is parent), and three sub-task for other assignee's. And I want to set automaticlly send email to assignee of parent issue, when sub-task's are done.

Any idea what kind of trigger I need to use?

Can You help? :)


Answers:
author: Tansu Akdeniz
body: Hi [@Jakub Szyma?ski](/t5/user/viewprofilepage/user-id/5091159)

Welcome to the community.

Please take a look at this:

![subtask to parent.png](https://community.atlassian.com/t5/image/serverpage/image-id/231388iCB4D4CE8D49306A4/image-dimensions/236x341?v=v2 "subtask to parent.png")

comments: author: Jakub Szyma?ski
body: Thank You Tansu.

It looks great, but I forgot to say, I have 3 issue types of sub-task :)  

![Screenshot_5.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/231485iE2071C6656D5A2F7/image-size/large?v=v2&px=999 "Screenshot_5.jpg")

Because now we have rule when sub-task are same issuetype (simple sub-task).

Or am I wrong?


author: Jakub Szyma?ski
body: Maybe something like this?  

![Screenshot_1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/231500iAD7AAFDFB71BA25C/image-size/large?v=v2&px=999 "Screenshot_1.jpg")


author: Tansu Akdeniz
body: 1- For the first IF condition, your solution is right. But it is better to use "Issue fields condition" instead of "JQL condition".

![issuefieldscon.png](https://community.atlassian.com/t5/image/serverpage/image-id/231520i173D6E28FAC692CE/image-size/large?v=v2&px=999 "issuefieldscon.png")

2- You don't have to change second IF condition. My first screenshot checks any sub-issues.


author: Jakub Szyma?ski
body: Dear [@Tansu Akdeniz](/t5/user/viewprofilepage/user-id/472390)   

Thank You a lot. Brilliant ! Works well :)

comments: author: Jakub Szyma?ski
body: That is finally form of rule:  

![Screenshot_2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/231549i2B0C8C0013BC81B8/image-size/large?v=v2&px=999 "Screenshot_2.jpg")


author: Tansu Akdeniz
body: Great to hear that, you are welcome [@Jakub Szyma?ski](/t5/user/viewprofilepage/user-id/5091159) !!


author: Christina King
body: [@Tansu Akdeniz](/t5/user/viewprofilepage/user-id/472390) Hello, I have a similar question, however, I'm trying to set up where the linked tasks once closed will leave the parent (main issue) open.


Tags: cloud
How to see a summary of all projects
Asked by Ant?nio Barros e Cunha:

In Jira Work Management we have a summary for single project. I am looking for a similar view that includes all projects. I don't need any other features besides just seeing the data well presented like the Summary tab does, but I want it to include all projects of the entire Organization. This is mainly so our Top manager can have a good idea of the overall progress of Issues and distribution of tasks.  

Thank you in advance for any advice!


Answers:
author: Trudy Claspill
body: Hello [@Ant?nio Barros e Cunha](/t5/user/viewprofilepage/user-id/5001174)

Welcome to the community.

There is not a pre-built summary that includes all projects.

You can work at building one of those yourself using the Jira Dashboard feature and the Gadgets that are available in the Dashboards.

<https://support.atlassian.com/jira-software-cloud/docs/create-and-edit-dashboards/>

There are a variety of third party apps that can add more gadgets to the the dashboards to enable additional views of the data.


author: Rafael Santos
body: Unfortunately this is a constant in Atlassian products.

You see that they have published a product designed to manage the company's various projects. (Not a single project). And the tool does not have, natively, at least one "useful" screen where projects are listed and that we can use JQL in it.


Tags: cloud

jira-work-management-cloud
How could a person outside the project and jira see a shared form
Asked by Carolina Rub?:

Hello,

How could a person outside the project and jira see a shared form and not count me as a user?

![issue 1.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/230822i03ADCA0B8435F93E/image-size/large?v=v2&px=999 "issue 1.JPG")

![issue 2.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/230823iD9D72668A19BFEB7/image-size/large?v=v2&px=999 "issue 2.JPG")

![issue 3.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/230824i98B12E141F248663/image-size/large?v=v2&px=999 "issue 3.JPG")

The thing is that we need other employees of our company without atlassian account to be able to make requests to us, making sure that they fill in all the fields, and that a task is created for us with the information.

Thank you!


Answers:
author: Jack Brickey
body: If you want to have the employees use the portal and JSM Forms then you need to add them as Customers. To be clear, customers don't need to have an Atlassian account to access the portal to create issues but they do need to be added to the project.

comments: author: Carolina Rub?
body: Thank you Jack, but how can I add them as Customers?


author: Jack Brickey
body: Ah, wait I just realized this is JWM not JSM. I misread your post originally. I wonder if JSM is an option?


author: Carolina Rub?
body: No [@Jack Brickey](/t5/user/viewprofilepage/user-id/853369) ...is the only option to send forms?


author: Jack Brickey
body: Ok. Then resetting my earlier response... it will not be possible to present a JWM form to a non-JWM user for input/issue creation at least not OOTB. The only means of having a non-Jira user create an issue is via email. They could add an attachment to that email. Note that the Reporter in the email scenario would not be the user since the Reporter field is limited to a Jira user.


author: Carolina Rub?
body: Sorry [@Jack Brickey](/t5/user/viewprofilepage/user-id/853369) but i don't undertand this "They could add an attachment to that email.". What email? Could you show me an example with screenshots? Thank you!


author: Jack Brickey
body: I was trying to say that the only way a non-Jira user can creat an issue is via email and only if you setup an incoming email handler to process such an email. I don't know enough about your use case to say if that would even be recommended.


author: Carolina Rub?
body: [@Jack Brickey](/t5/user/viewprofilepage/user-id/853369) sorry but i don't know to do this :( "setup an incoming email handler to process such an email"


Tags: cloud

jira-work-management-cloud
Create new Board
Asked by sai chinamuthevi:

Hi Everyone,

is it possible to create a new Board based on filter in Jira Business Project.

i've created a filter and want to create a Board based on that filter. but when creating a Board it's showing only software related projects in Locations sections. can we see Business projects also there ?


Answers:
author: John Funk
body: Hi Sai,

Certainly, you can do that. In fact, here is an article I wrote earlier this year on how to do that for Business projects. Take a look and if it is helpful, please give it a Like. :-)

<https://community.atlassian.com/t5/Agile-articles/Creating-a-Second-Agile-Board-for-Team-Managed-or-JIra-Work/ba-p/2115018>


Tags: cloud
When chossing the resolution field, the default resolution will displayed
Asked by Maeneth:

Hi Community,

I have set a post function as below on the resolved status. when I choose the resolution as working is designed, or user error or agreed hold, duplicate and submit. By default it will displyed fixed in the resolution field. I want the resolution field will appear for the resolution that I set for that ticket. How I can do that?

![Capture.PNG](/t5/image/serverpage/image-id/230555i70891DF6DEF0F77C/image-size/large?v=v2&px=999 "Capture.PNG")


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Maeneth](/t5/user/viewprofilepage/user-id/5065202) ,

Rsolution field is a single option field. Post Functions, such as configured, will set always your resolution to the last pf configured (Fixed). If you want that resolution field will be choose by user at transition screen level you need to delete all pf (from 1 to 6 from your workflow).

Moreover, my suggestion is to set Resolution as mandatory field through a validator and, if necessary, you can define what resolutions are valid through a workflow property (<https://support.atlassian.com/jira-cloud-administration/docs/use-workflow-properties/>)

Transition properties {#toc-hId--499199381}
-------------------------------------------

### jira.field.resolution.include and jira.field.resolution.exclude {#toc-hId-191362093}

If you don't want a particular resolution to be available on an issue while it's on a particular status, you can use the jira.field.resolution property to restrict it.

#### Examples {#toc-hId-881923567}

|                                                                              **Use case**                                                                              |            **Key**            |              **Value**              |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------|-------------------------------------|
| Enable a particular resolution on a transition For example, if you want to enable the "Duplicate" resolution on a transition.                                          | jira.field.resolution.include | (resolution IDs separated by comma) |
| Disable a particular resolution on a status For example, if you want to disable the "Duplicate" resolution on a transition. This will make the resolution unavailable. | jira.field.resolution.exclude | (resolution IDs separated by comma) |


Tags: cloud

jira-work-management-cloud
How to identify the template used on a specific business project
Asked by Leslie Barrett:

Is there a way to find which template was used to create a specific team-managed business project?


Answers:
author: John Funk
body: Hi Leslie,

Just curious why you need that information. The template is just a starting place to get the project setup with the corresponding schemes the template uses. But you can then change out those schemes so that what is in use is not associated with the schemes used by the template to initially set up the project.


Tags: team-managed-projects